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

Unified Diff: extensions/renderer/user_script_set.h

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments. Created 5 years, 9 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/user_script_set.h
diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h
index a371a94d730e34d75f746e578ce5eb26d6c1b329..5dc070c7297b55a25cbad1519e1042c532247353 100644
--- a/extensions/renderer/user_script_set.h
+++ b/extensions/renderer/user_script_set.h
@@ -56,7 +56,8 @@ class UserScriptSet {
void GetInjections(ScopedVector<ScriptInjection>* injections,
blink::WebFrame* web_frame,
int tab_id,
- UserScript::RunLocation run_location);
+ UserScript::RunLocation run_location,
+ bool has_guest_content_script);
scoped_ptr<ScriptInjection> GetDeclarativeScriptInjection(
int script_id,
@@ -81,7 +82,8 @@ class UserScriptSet {
int tab_id,
UserScript::RunLocation run_location,
const GURL& document_url,
- bool is_declarative);
+ bool is_declarative,
+ bool has_guest_content_script);
// Shared memory containing raw script data.
scoped_ptr<base::SharedMemory> shared_memory_;

Powered by Google App Engine
This is Rietveld 408576698