diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 21:01:08 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 21:01:08 +0000 |
commit | eda4caed013dd1cb3a78ebec2ba830dce2b1c327 (patch) | |
tree | 179bcbb682d03aea61c74e3c3b1485f59e07d3d2 /chrome/browser/extensions/scoped_gaia_auth_extension.cc | |
parent | 1871b5f07df751fc25c532bc8f641f9fe766711e (diff) | |
download | chromium_src-eda4caed013dd1cb3a78ebec2ba830dce2b1c327.zip chromium_src-eda4caed013dd1cb3a78ebec2ba830dce2b1c327.tar.gz chromium_src-eda4caed013dd1cb3a78ebec2ba830dce2b1c327.tar.bz2 |
Revert 202926 "Change loading custom auth extension to load from..."
On suspicions that it turns four CrOS bots red.
TBR=tengs@chromium.org
Review URL: https://codereview.chromium.org/16210002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/scoped_gaia_auth_extension.cc')
-rw-r--r-- | chrome/browser/extensions/scoped_gaia_auth_extension.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/extensions/scoped_gaia_auth_extension.cc b/chrome/browser/extensions/scoped_gaia_auth_extension.cc index a08678c..33464fa 100644 --- a/chrome/browser/extensions/scoped_gaia_auth_extension.cc +++ b/chrome/browser/extensions/scoped_gaia_auth_extension.cc @@ -34,14 +34,7 @@ void LoadGaiaAuthExtension(Profile* profile) { if (command_line->HasSwitch(switches::kAuthExtensionPath)) { base::FilePath auth_extension_path = command_line->GetSwitchValuePath(switches::kAuthExtensionPath); - const std::string extension_id = - component_loader->AddOrReplace(auth_extension_path); - - if (extension_id.empty()) { - LOG(ERROR) << "Failed to load custom Gaia auth extension given by the " - << switches::kAuthExtensionPath << " flag: " - << auth_extension_path.value(); - } + component_loader->Add(IDR_GAIA_TEST_AUTH_MANIFEST, auth_extension_path); return; } |