Commit eda4caed authored by avi@chromium.org's avatar avi@chromium.org

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
parent 1871b5f0
...@@ -34,14 +34,7 @@ void LoadGaiaAuthExtension(Profile* profile) { ...@@ -34,14 +34,7 @@ void LoadGaiaAuthExtension(Profile* profile) {
if (command_line->HasSwitch(switches::kAuthExtensionPath)) { if (command_line->HasSwitch(switches::kAuthExtensionPath)) {
base::FilePath auth_extension_path = base::FilePath auth_extension_path =
command_line->GetSwitchValuePath(switches::kAuthExtensionPath); command_line->GetSwitchValuePath(switches::kAuthExtensionPath);
const std::string extension_id = component_loader->Add(IDR_GAIA_TEST_AUTH_MANIFEST, auth_extension_path);
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();
}
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment