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

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

Issue 13825014: Change RulesRegistryService to use ProfileKeyedAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved functionality from InitForOTR into RulesRegistryService constructor 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
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 1ba7eae877b2d469d0ba539b8defe889d6981892..61a807f8514ba5aba7c98974dc06f62fa1099183 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -97,8 +97,6 @@ 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