summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/scoped_gaia_auth_extension.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 21:01:08 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 21:01:08 +0000
commiteda4caed013dd1cb3a78ebec2ba830dce2b1c327 (patch)
tree179bcbb682d03aea61c74e3c3b1485f59e07d3d2 /chrome/browser/extensions/scoped_gaia_auth_extension.cc
parent1871b5f07df751fc25c532bc8f641f9fe766711e (diff)
downloadchromium_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.cc9
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;
}