Remove old references to chromiumos/ in repohooks

chromiumos/repohooks and chromiumos/overlays/portage-stable were forked
and are now cos/repohooks and cos/overlays/portage-stable.

BUG=None
TEST=pre-upload_unittest.py

Change-Id: I417afde89074a8e4b5161a07148c4917007b2b9d
diff --git a/pre-upload.py b/pre-upload.py
index 868956e..24e9b49 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -176,7 +176,7 @@
   else:
     # We need to do this when we're run through repo.  Since repo executes
     # us with execfile(), we don't get __file__ defined.
-    cmd = ['repo', 'forall', 'chromiumos/repohooks', '-c', 'pwd']
+    cmd = ['repo', 'forall', 'cos/repohooks', '-c', 'pwd']
     return _run_command(cmd).strip()
 
 
@@ -937,7 +937,7 @@
   # that we're doing anything other than importing files from upstream, so
   # forcing a rev bump makes no sense.
   whitelist = (
-      'chromiumos/overlays/portage-stable',
+      'cos/overlays/portage-stable',
   )
   if project.name in whitelist:
     return None
@@ -1043,7 +1043,7 @@
   # that we're doing anything other than importing files from upstream, and
   # we shouldn't be rewriting things fundamentally anyways.
   whitelist = (
-      'chromiumos/overlays/portage-stable',
+      'cos/overlays/portage-stable',
   )
   if project.name in whitelist:
     return None
@@ -1188,7 +1188,7 @@
   # If this is the portage-stable overlay, then ignore the check.
   # We want to import virtuals as-is from upstream Gentoo.
   whitelist = (
-      'chromiumos/overlays/portage-stable',
+      'cos/overlays/portage-stable',
   )
   if project.name in whitelist:
     return None
diff --git a/pre-upload_unittest.py b/pre-upload_unittest.py
index 759f63c..34ce829 100755
--- a/pre-upload_unittest.py
+++ b/pre-upload_unittest.py
@@ -519,7 +519,7 @@
 class CheckEbuildEapi(PreUploadTestCase):
   """Tests for _check_ebuild_eapi."""
 
-  PORTAGE_STABLE = ProjectNamed('chromiumos/overlays/portage-stable')
+  PORTAGE_STABLE = ProjectNamed('cos/overlays/portage-stable')
 
   def setUp(self):
     self.file_mock = self.PatchObject(pre_upload, '_get_affected_files')
@@ -1913,7 +1913,7 @@
   def testWhitelistOverlay(self):
     """Skip checks on whitelisted overlays."""
     self.assertAccepted([DiffEntry(src_file='cat/pkg/pkg-0.ebuild')],
-                        project='chromiumos/overlays/portage-stable')
+                        project='cos/overlays/portage-stable')
 
   def testWhitelistFiles(self):
     """Skip checks on whitelisted files."""