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

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

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.h
diff --git a/chrome/browser/storage/durable_storage_permission_context_factory.h b/chrome/browser/storage/durable_storage_permission_context_factory.h
index 6b176e9973f68b5e4f4e4fa456f564c963983332..63f1a04f07f04b1e4175422e977b02377a12d6c1 100644
--- a/chrome/browser/storage/durable_storage_permission_context_factory.h
+++ b/chrome/browser/storage/durable_storage_permission_context_factory.h
@@ -6,13 +6,13 @@
#define CHROME_BROWSER_STORAGE_DURABLE_STORAGE_PERMISSION_CONTEXT_FACTORY_H_
#include "base/memory/singleton.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
+#include "chrome/browser/permissions/permission_context_factory_base.h"
class DurableStoragePermissionContext;
class Profile;
class DurableStoragePermissionContextFactory
- : public BrowserContextKeyedServiceFactory {
+ : public PermissionContextFactoryBase {
public:
static DurableStoragePermissionContext* GetForProfile(Profile* profile);
static DurableStoragePermissionContextFactory* GetInstance();
@@ -27,8 +27,6 @@ class DurableStoragePermissionContextFactory
// BrowserContextKeyedBaseFactory methods:
KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const override;
- content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(DurableStoragePermissionContextFactory);
};
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/storage/durable_storage_permission_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698