Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: trunk/src/chrome/browser/extensions/scoped_gaia_auth_extension.cc

Issue 16210002: Revert 202926 "Change loading custom auth extension to load from..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/extensions/scoped_gaia_auth_extension.cc
===================================================================
--- trunk/src/chrome/browser/extensions/scoped_gaia_auth_extension.cc (revision 202963)
+++ trunk/src/chrome/browser/extensions/scoped_gaia_auth_extension.cc (working copy)
@@ -34,14 +34,7 @@
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698