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

Unified Diff: chrome/browser/extensions/api/messaging/message_service.h

Issue 134393003: app_shell: Convert ExtensionsWebContentsObserver to BrowserContext from Profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | chrome/browser/extensions/api/messaging/message_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/messaging/message_service.h
diff --git a/chrome/browser/extensions/api/messaging/message_service.h b/chrome/browser/extensions/api/messaging/message_service.h
index ed6eae95d4793f6dc2ff0997af2f0f2d7daa0449..edf2df247188c2821c4ef236ca1d5afbb5bf09e4 100644
--- a/chrome/browser/extensions/api/messaging/message_service.h
+++ b/chrome/browser/extensions/api/messaging/message_service.h
@@ -28,6 +28,7 @@ class DictionaryValue;
}
namespace content {
+class BrowserContext;
class RenderProcessHost;
class WebContents;
}
@@ -114,8 +115,8 @@ class MessageService : public ProfileKeyedAPI,
// ProfileKeyedAPI implementation.
static ProfileKeyedAPIFactory<MessageService>* GetFactoryInstance();
- // Convenience method to get the MessageService for a profile.
- static MessageService* Get(Profile* profile);
+ // Convenience method to get the MessageService for a browser context.
+ static MessageService* Get(content::BrowserContext* profile);
// Given an extension's ID, opens a channel between the given renderer "port"
// and every listening context owned by that extension. |channel_name| is
« no previous file with comments | « no previous file | chrome/browser/extensions/api/messaging/message_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698