For the new git repositories, we need to use https instead of http and ssh.

Bug=None
Test=Tested setup_chromeos, build_chromes, remote_gcc_build

Change-Id: I95833ed07692ea04f396233ab87aa7b47ff6b106
Reviewed-on: https://chrome-internal-review.googlesource.com/144397
Reviewed-by: Han Shen <shenhan@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
diff --git a/setup_chromeos.py b/setup_chromeos.py
index b808f4f..689b1ec 100755
--- a/setup_chromeos.py
+++ b/setup_chromeos.py
@@ -144,14 +144,14 @@
   directory = options.directory.strip()
 
   if options.public:
-    manifest_repo = "http://chromium.googlesource.com/chromiumos/manifest.git"
-    versions_repo = ("http://chromium.googlesource.com/"
+    manifest_repo = "https://chromium.googlesource.com/chromiumos/manifest.git"
+    versions_repo = ("https://chromium.googlesource.com/"
                      "chromiumos/manifest-versions.git")
   else:
     manifest_repo = (
-        "ssh://chrome-internal.googlesource.com/chromeos/manifest-internal.git")
+        "https://chrome-internal.googlesource.com/chromeos/manifest-internal.git")
     versions_repo = (
-        "ssh://chrome-internal.googlesource.com/chromeos/manifest-versions.git")
+        "https://chrome-internal.googlesource.com/chromeos/manifest-versions.git")
 
   if version == "top":
     init = "repo init -u %s" % manifest_repo
@@ -204,7 +204,7 @@
   if options.minilayout:
     init += " -g minilayout"
 
-  init += " --repo-url=http://chromium.googlesource.com/external/repo.git"
+  init += " --repo-url=https://chromium.googlesource.com/external/repo.git"
 
   commands = ["mkdir -p %s" % directory,
               "cd %s" % directory,
diff --git a/test_gcc_dejagnu.py b/test_gcc_dejagnu.py
index 7b52ded..450c6cb 100755
--- a/test_gcc_dejagnu.py
+++ b/test_gcc_dejagnu.py
@@ -23,7 +23,7 @@
 class DejagnuAdapter(object):
 
   # TODO(shenhan): move these to constants.py.
-  _CHROMIUM_GCC_GIT = ("http://chromium.googlesource.com/"
+  _CHROMIUM_GCC_GIT = ("https://chromium.googlesource.com/"
                        "chromiumos/third_party/gcc.git")
   _CHROMIUM_GCC_BRANCH = "gcc.gnu.org/branches/google/gcc-4_7-mobile"
 
diff --git a/utils/manifest_versions.py b/utils/manifest_versions.py
index 3e87f1d..57c0f86 100644
--- a/utils/manifest_versions.py
+++ b/utils/manifest_versions.py
@@ -45,11 +45,11 @@
     self.ce = command_executer.GetCommandExecuter()
     if internal:
       versions_git = (
-          "ssh://chrome-internal.googlesource.com/"
+          "https://chrome-internal.googlesource.com/"
           "chromeos/manifest-versions.git")
     else:
       versions_git = (
-          "http://chromium.googlesource.com/chromiumos/manifest-versions.git")
+          "https://chromium.googlesource.com/chromiumos/manifest-versions.git")
     commands = ["cd {0}".format(self.clone_location),
                 "git clone {0}".format(versions_git)]
     ret = self.ce.RunCommands(commands)
diff --git a/utils/misc.py b/utils/misc.py
index adf9c54..61a0feb 100644
--- a/utils/misc.py
+++ b/utils/misc.py
@@ -25,7 +25,7 @@
   """Get Chromeos version from Lsb version."""
   ce = command_executer.GetCommandExecuter()
   command = ("git ls-remote "
-             "http://chromium.googlesource.com/chromiumos/manifest.git")
+             "https://chromium.googlesource.com/chromiumos/manifest.git")
   ret, out, _ = ce.RunCommand(command, return_output=True,
                               print_to_console=False)
   assert ret == 0, "Command %s failed" % command