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

Unified Diff: chrome/browser/extensions/component_loader.cc

Issue 271963002: Load Easy Unlock only in user sessions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/extensions/component_loader.cc
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
index 3b7647ed1b2dee616b4a671e83fa6958f7704e7e..559f2c011680f539b27a7a32844c1071813ee7f0 100644
--- a/chrome/browser/extensions/component_loader.cc
+++ b/chrome/browser/extensions/component_loader.cc
@@ -569,7 +569,8 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages(
AddNetworkSpeechSynthesisExtension();
#endif
- if (command_line->HasSwitch(switches::kEnableEasyUnlock)) {
+ if (!skip_session_components &&
+ command_line->HasSwitch(switches::kEnableEasyUnlock)) {
if (command_line->HasSwitch(switches::kEasyUnlockAppPath)) {
base::FilePath easy_unlock_path(
command_line->GetSwitchValuePath(switches::kEasyUnlockAppPath));
« 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