Chromium Code Reviews| Index: chrome/browser/extensions/extension_service.cc |
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
| index f7450f36069b23d7b3baee48aa3b50f349c8550a..3053d76974de25f463d7f147b96d933b52d249b8 100644 |
| --- a/chrome/browser/extensions/extension_service.cc |
| +++ b/chrome/browser/extensions/extension_service.cc |
| @@ -1984,6 +1984,9 @@ void ExtensionService::FinishInstallation( |
| extension_prefs_->SetAllowFileAccess(extension->id(), true); |
| } |
| + if (extensions::util::EnableIncognitoByDefault(extension)) |
| + extension_prefs_->SetIsIncognitoEnabled(extension->id(), true); |
|
not at google - send to devlin
2014/06/18 23:49:19
i don't think you need this code anymore
Mike Wittman
2014/06/19 00:21:49
Done.
|
| + |
| AddExtension(extension); |
| // Notify observers that need to know when an installation is complete. |