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

Unified Diff: extensions/renderer/dispatcher.h

Issue 498513002: Respect the clipboardRead and clipboardWrite permissions in content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix extensions test compile Created 6 years, 3 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: extensions/renderer/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 3fd560b2ef44a8ce9131b736bba3172df0ad1930..6285945a650d92b7ae63d3f4efbb0d000456a8a2 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -94,7 +94,9 @@ class Dispatcher : public content::RenderProcessObserver,
// specified |frame| and isolated world. If |world_id| is zero, finds the
// extension ID associated with the main world's JavaScript context. If the
// JavaScript context isn't from an extension, returns empty string.
- std::string GetExtensionID(const blink::WebFrame* frame, int world_id);
+ std::string GetExtensionID(const blink::WebFrame* frame,
+ int world_id,
+ bool use_effective_url);
void DidCreateScriptContext(blink::WebFrame* frame,
const v8::Handle<v8::Context>& context,

Powered by Google App Engine
This is Rietveld 408576698