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

Unified Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 7432006: Add an experimental permissions API for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 9 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
Index: chrome/renderer/extensions/extension_dispatcher.h
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
index f2ae6fe991cb7d6484c811de36a12e994d73b6ec..f1fb8e452e95e0b0b5e5d3d3a375da2a0af9de44 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -20,6 +20,7 @@ class RenderThread;
class URLPattern;
class UserScriptSlave;
struct ExtensionMsg_Loaded_Params;
+struct ExtensionMsg_UpdatePermissions_Params;
namespace base {
class ListValue;
@@ -77,6 +78,10 @@ class ExtensionDispatcher : public RenderProcessObserver {
const std::vector<std::string>& page_actions);
void OnActivateApplication(const std::string& extension_id);
void OnActivateExtension(const std::string& extension_id);
+ void OnUpdatePermissions(const std::string& extension_id,
+ const ExtensionAPIPermissionSet& apis,
+ const URLPatternSet& explicit_hosts,
+ const URLPatternSet& scriptable_hosts);
void OnUpdateUserScripts(base::SharedMemoryHandle table);
// Update the list of active extensions that will be reported when we crash.
« no previous file with comments | « chrome/common/extensions/url_pattern_set_unittest.cc ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698