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

Unified Diff: chrome/browser/profile.h

Issue 155707: Changed the extension.connect() API not to broadcast to all tabs. Added a (Closed)
Patch Set: review comments Created 11 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
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.h
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index e16bfe133b436e2212a8d41100a9969e73021967..fb72da5a15ccff90cb33b5317ad17f9d75415f1b 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -31,6 +31,7 @@ class ChromeURLRequestContext;
class DownloadManager;
class Extension;
class ExtensionProcessManager;
+class ExtensionMessageService;
class ExtensionsService;
class HistoryService;
class NavigationController;
@@ -132,6 +133,10 @@ class Profile {
// profile. The instance is created at startup.
virtual ExtensionProcessManager* GetExtensionProcessManager() = 0;
+ // Retrieves a pointer to the ExtensionMessageService associated with this
+ // profile. The instance is created at startup.
+ virtual ExtensionMessageService* GetExtensionMessageService() = 0;
+
// Retrieves a pointer to the SSLHostState associated with this profile.
// The SSLHostState is lazily created the first time that this method is
// called.
@@ -335,6 +340,7 @@ class ProfileImpl : public Profile,
virtual net::ForceTLSState* GetForceTLSState();
virtual ExtensionsService* GetExtensionsService();
virtual ExtensionProcessManager* GetExtensionProcessManager();
+ virtual ExtensionMessageService* GetExtensionMessageService();
virtual HistoryService* GetHistoryService(ServiceAccessType sat);
virtual WebDataService* GetWebDataService(ServiceAccessType sat);
virtual PasswordStore* GetPasswordStore(ServiceAccessType sat);
@@ -413,6 +419,7 @@ class ProfileImpl : public Profile,
scoped_refptr<ExtensionsService> extensions_service_;
scoped_refptr<UserScriptMaster> user_script_master_;
scoped_ptr<ExtensionProcessManager> extension_process_manager_;
+ scoped_refptr<ExtensionMessageService> extension_message_service_;
scoped_ptr<SSLHostState> ssl_host_state_;
scoped_ptr<net::ForceTLSState> force_tls_state_;
scoped_ptr<PrefService> prefs_;
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698