Chromium Code Reviews| Index: chrome/browser/extensions/user_script_master.h |
| diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h |
| index 7a56efa810af522f1c7d6cee40deb09e61d1a8a4..ae0be2805950b075a57133e3a9c4ec60590178f3 100644 |
| --- a/chrome/browser/extensions/user_script_master.h |
| +++ b/chrome/browser/extensions/user_script_master.h |
| @@ -151,7 +151,8 @@ class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, |
| // Sends the renderer process a new set of user scripts. |
|
not at google - send to devlin
2014/05/21 15:01:07
you might want to add that |changed_extensions| is
Devlin
2014/05/21 17:05:11
Done.
|
| void SendUpdate(content::RenderProcessHost* process, |
| - base::SharedMemory* shared_memory); |
| + base::SharedMemory* shared_memory, |
| + const std::set<std::string>& changed_extensions); |
| // Manages our notification registrations. |
| content::NotificationRegistrar registrar_; |
| @@ -168,6 +169,10 @@ class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, |
| // Maps extension info needed for localization to an extension ID. |
| ExtensionsInfo extensions_info_; |
| + // The IDs of the extensions which have changed since the last update sent to |
| + // the renderer. |
| + std::set<std::string> changed_extensions_; |
| + |
| // If the extensions service has finished loading its initial set of |
| // extensions. |
| bool extensions_service_ready_; |