Chromium Code Reviews| Index: extensions/renderer/user_script_set_manager.h |
| diff --git a/extensions/renderer/user_script_set_manager.h b/extensions/renderer/user_script_set_manager.h |
| index 49e547a3d61f6583873597a17876b0288c18fae5..0de2dbdff5232603f65457a9303973f888484ea6 100644 |
| --- a/extensions/renderer/user_script_set_manager.h |
| +++ b/extensions/renderer/user_script_set_manager.h |
| @@ -91,7 +91,8 @@ class UserScriptSetManager : public content::RenderProcessObserver { |
| // Handle the UpdateUserScripts extension message. |
| void OnUpdateUserScripts(base::SharedMemoryHandle shared_memory, |
| const HostID& host_id, |
| - const std::set<HostID>& changed_hosts); |
| + const std::set<HostID>& changed_hosts, |
| + bool is_to_guest_render_process); |
| // Scripts statically defined in extension manifests. |
| UserScriptSet static_scripts_; |
| @@ -100,6 +101,9 @@ class UserScriptSetManager : public content::RenderProcessObserver { |
| // per-extension). |
| UserScriptSetMap programmatic_scripts_; |
| + // Indicates whether the manager object belongs to a guest render process. |
| + bool is_in_guest_render_process_; |
|
Fady Samuel
2015/04/02 21:46:09
is_guest_process_ is less wordy.
|
| + |
| // The set of all known extensions. Owned by the Dispatcher. |
| const ExtensionSet* extensions_; |