diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 23:24:16 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 23:24:16 +0000 |
commit | a7ab1b782edde4b8558ccba857ea64cb1e8e8d1c (patch) | |
tree | be43e81cd80302d91ed9d0c9ddc4079f0e557b5a /chrome/renderer/render_thread.h | |
parent | 3a8d2de3be5629f532f4b26a4ddb7c0961cb25d7 (diff) | |
download | chromium_src-a7ab1b782edde4b8558ccba857ea64cb1e8e8d1c.zip chromium_src-a7ab1b782edde4b8558ccba857ea64cb1e8e8d1c.tar.gz chromium_src-a7ab1b782edde4b8558ccba857ea64cb1e8e8d1c.tar.bz2 |
Part 2 of extension event refactor.
Extension events are no longer broadcast to an entire process. They are
filtered by extension. This allows me to move the cross-incognito check into
the browser, and remove a bunch of cruft associated with that.
BUG=58214
TEST=no functional change
Review URL: http://codereview.chromium.org/3775015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r-- | chrome/renderer/render_thread.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index 9f2c4c0..a077c3b 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -267,10 +267,6 @@ class RenderThread : public RenderThreadBase, void OnExtensionSetHostPermissions( const GURL& extension_url, const std::vector<URLPattern>& permissions); - void OnExtensionSetIncognitoEnabled( - const std::string& extension_id, - bool enabled, - bool incognito_split_mode); void OnSetNextPageID(int32 next_page_id); void OnSetIsIncognitoProcess(bool is_incognito_process); void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); @@ -289,9 +285,9 @@ class RenderThread : public RenderThreadBase, void OnGetRendererTcmalloc(); void OnGetV8HeapStats(); - void OnExtensionMessageInvoke(const std::string& function_name, + void OnExtensionMessageInvoke(const std::string& extension_id, + const std::string& function_name, const ListValue& args, - bool cross_incognito, const GURL& event_url); void OnPurgeMemory(); void OnPurgePluginListCache(bool reload_pages); |