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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 545413002: Detach the dependency from host_content_settings_map to extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 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/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index c6ad18c8495541274d25e7595e068fc1f02d82fe..2a4329649b91884cf95f0b8c6c74e6bd230027da 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -33,6 +33,7 @@
class ExtensionSyncService;
class GURL;
+class HostContentSettingsMap;
class Profile;
namespace base {
@@ -362,6 +363,10 @@ class ExtensionService
// notification is desired the calling code is responsible for doing that.
void TerminateExtension(const std::string& extension_id);
+ // Register myself and content settings API to the specified map.
Yoyo Zhou 2014/09/08 19:51:26 Change 'myself' to 'self' and 'to' to 'with'
Jun Mukai 2014/09/08 20:01:39 Done.
+ void RegisterContentSettings(
+ HostContentSettingsMap* host_content_settings_map);
+
// Adds/Removes update observers.
void AddUpdateObserver(extensions::UpdateObserver* observer);
void RemoveUpdateObserver(extensions::UpdateObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698