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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10831008: Refactor and fix declarative webRequest API permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 5 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
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index fea624bfb4fab0b0ffab0cd3219cab3c588f2482..a2cc760d0a6de72bfd2867cf479d31c808c95364 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -88,6 +88,8 @@ OffTheRecordProfileImpl::OffTheRecordProfileImpl(Profile* real_profile)
void OffTheRecordProfileImpl::Init() {
ProfileDependencyManager::GetInstance()->CreateProfileServices(this, false);
+ extensions::ExtensionSystem::Get(this)->InitForOTRProfile();
+
DCHECK_NE(IncognitoModePrefs::DISABLED,
IncognitoModePrefs::GetAvailability(profile_->GetPrefs()));

Powered by Google App Engine
This is Rietveld 408576698