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

Unified Diff: chrome/browser/storage/durable_storage_permission_context_factory.cc

Issue 1312453005: Removed Profile::GetHostContentSettingsMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed patch conflict Created 5 years, 3 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/storage/durable_storage_permission_context_factory.cc
diff --git a/chrome/browser/storage/durable_storage_permission_context_factory.cc b/chrome/browser/storage/durable_storage_permission_context_factory.cc
index bfc6a6be4d518a9ca80b689ad3228e6352583fdf..6b619d0bc1cf74737798584c6eda5a6807aecc6d 100644
--- a/chrome/browser/storage/durable_storage_permission_context_factory.cc
+++ b/chrome/browser/storage/durable_storage_permission_context_factory.cc
@@ -23,7 +23,7 @@ DurableStoragePermissionContextFactory::GetInstance() {
}
DurableStoragePermissionContextFactory::DurableStoragePermissionContextFactory()
- : BrowserContextKeyedServiceFactory(
+ : PermissionContextFactoryBase(
"DurableStoragePermissionContext",
BrowserContextDependencyManager::GetInstance()) {
}
@@ -32,9 +32,3 @@ KeyedService* DurableStoragePermissionContextFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
return new DurableStoragePermissionContext(static_cast<Profile*>(profile));
}
-
-content::BrowserContext*
-DurableStoragePermissionContextFactory::GetBrowserContextToUse(
- content::BrowserContext* context) const {
- return chrome::GetBrowserContextOwnInstanceInIncognito(context);
-}

Powered by Google App Engine
This is Rietveld 408576698