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

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

Issue 100653003: Convert ExtensionFunctionDispatcher from Profile to BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_function_dispatcher.h
diff --git a/chrome/browser/extensions/extension_function_dispatcher.h b/chrome/browser/extensions/extension_function_dispatcher.h
index cf76f5adeca278be887502c53fa4adafe219e5e2..9e80fca0444ed29ff0440bfd33425cc68a4edf8d 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.h
+++ b/chrome/browser/extensions/extension_function_dispatcher.h
@@ -15,7 +15,6 @@
#include "url/gurl.h"
class ChromeRenderMessageFilter;
-class Profile;
struct ExtensionHostMsg_Request_Params;
namespace content {
@@ -119,8 +118,8 @@ class ExtensionFunctionDispatcher
// a response (if any) to the extension.
void OnExtensionFunctionCompleted(const extensions::Extension* extension);
- // The profile that this dispatcher is associated with.
- Profile* profile() { return profile_; }
+ // The BrowserContext that this dispatcher is associated with.
+ content::BrowserContext* browser_context() { return browser_context_; }
private:
// For a given RenderViewHost instance, UIThreadResponseCallbackWrapper
@@ -157,7 +156,7 @@ class ExtensionFunctionDispatcher
static void SendAccessDenied(
const ExtensionFunction::ResponseCallback& callback);
- Profile* profile_;
+ content::BrowserContext* browser_context_;
Delegate* delegate_;
« no previous file with comments | « chrome/browser/extensions/api/test/test_api.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698