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

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

Issue 10443105: Take 2 at implementing activeTab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: empty -> is_empty Created 8 years, 6 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 88bb1e40e9d161cb5d724736a99b8fe56918d953..40eaac513e77c16216578308de9823c6e4849c68 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -153,6 +153,13 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
const ExtensionAPIPermissionSet& apis,
const URLPatternSet& explicit_hosts,
const URLPatternSet& scriptable_hosts);
+ void OnUpdateTabSpecificPermissions(int page_id,
+ int tab_id,
+ const std::string& extension_id,
+ const URLPatternSet& origin_set);
+ void OnClearTabSpecificPermissions(
+ int tab_id,
+ const std::vector<std::string>& extension_ids);
void OnUpdateUserScripts(base::SharedMemoryHandle table);
void OnUsingWebRequestAPI(
bool adblock,
@@ -170,7 +177,7 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
// Sets up the host permissions for |extension|.
void InitOriginPermissions(const extensions::Extension* extension);
- void UpdateOriginPermissions(
+ void AddOrRemoveOriginPermissions(
extensions::UpdatedExtensionPermissionsInfo::Reason reason,
const extensions::Extension* extension,
const URLPatternSet& origins);
« 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