| Index: extensions/renderer/user_script_set.h
|
| diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h
|
| index e5e91fd418b2158bdfa0852cbcb43467b592da97..57ea6d7f26f9e4bfbeaec19d73fa1a514db9158e 100644
|
| --- a/extensions/renderer/user_script_set.h
|
| +++ b/extensions/renderer/user_script_set.h
|
| @@ -59,6 +59,14 @@ class UserScriptSet {
|
| int tab_id,
|
| UserScript::RunLocation run_location);
|
|
|
| + scoped_ptr<ScriptInjection> GetDeclarativeScriptInjection(
|
| + int script_id,
|
| + blink::WebFrame* web_frame,
|
| + int tab_id,
|
| + UserScript::RunLocation run_location,
|
| + const GURL& document_url,
|
| + const Extension* extension);
|
| +
|
| // Updates scripts given the shared memory region containing user scripts.
|
| // Returns true if the scripts were successfully updated.
|
| bool UpdateUserScripts(base::SharedMemoryHandle shared_memory,
|
| @@ -75,7 +83,8 @@ class UserScriptSet {
|
| int tab_id,
|
| UserScript::RunLocation run_location,
|
| const GURL& document_url,
|
| - const Extension* extension);
|
| + const Extension* extension,
|
| + bool is_declarative);
|
|
|
| // Shared memory containing raw script data.
|
| scoped_ptr<base::SharedMemory> shared_memory_;
|
|
|