summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/extension_function.h')
-rw-r--r--extensions/browser/extension_function.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
index 099dff1..b0af0ae 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -302,8 +302,10 @@ class UIThreadExtensionFunction : public ExtensionFunction {
// Set the browser context which contains the extension that has originated
// this function call.
- void set_context(content::BrowserContext* context) { context_ = context; }
- content::BrowserContext* context() const { return context_; }
+ void set_browser_context(content::BrowserContext* context) {
+ context_ = context;
+ }
+ content::BrowserContext* browser_context() const { return context_; }
void SetRenderViewHost(content::RenderViewHost* render_view_host);
content::RenderViewHost* render_view_host() const {