| Index: chrome/renderer/user_script_slave.h
|
| diff --git a/chrome/renderer/user_script_slave.h b/chrome/renderer/user_script_slave.h
|
| index cf8fb8d85933a8ce45f9af15602d5df9bffbdc12..4cbbfd274827e15b6b4b31de89becfc7db5421e8 100644
|
| --- a/chrome/renderer/user_script_slave.h
|
| +++ b/chrome/renderer/user_script_slave.h
|
| @@ -31,8 +31,11 @@ class UserScriptSlave {
|
| // Returns the unique set of extension IDs this UserScriptSlave knows about.
|
| void GetActiveExtensions(std::set<std::string>* extension_ids);
|
|
|
| - // Update the parsed scripts from shared memory.
|
| - bool UpdateScripts(base::SharedMemoryHandle shared_memory);
|
| + // Update the parsed scripts from shared memory. If |only_inject_incognito|
|
| + // is true, we will only use the scripts that have been marked as enabled for
|
| + // incognito mode.
|
| + bool UpdateScripts(base::SharedMemoryHandle shared_memory,
|
| + bool only_inject_incognito);
|
|
|
| // Inject the appropriate scripts into a frame based on its URL.
|
| // TODO(aa): Extract a UserScriptFrame interface out of this to improve
|
|
|