| Index: extensions/browser/renderer_startup_helper.h
|
| diff --git a/extensions/browser/renderer_startup_helper.h b/extensions/browser/renderer_startup_helper.h
|
| index 94ec3833b955795135c84650f0b857268d8be0d4..e8726bf3329061ccd8e81f61ab81f8f60cfe15e7 100644
|
| --- a/extensions/browser/renderer_startup_helper.h
|
| +++ b/extensions/browser/renderer_startup_helper.h
|
| @@ -69,14 +69,16 @@ class RendererStartupHelper : public KeyedService,
|
| content::BrowserContext* browser_context_; // Not owned.
|
|
|
| // The set of render processes that have had the initial batch of IPC messages
|
| - // sent, including the set of loaded extensions. Further messages that
|
| + // sent, together with the set of loaded extensions. Further messages that
|
| // activate, load, or unload extensions should not be sent until after this
|
| - // happens.
|
| - std::set<content::RenderProcessHost*> initialized_processes_;
|
| + // happens. Used to keep the track of initialized processes along with its
|
| + // loaded extensions.
|
| + std::map<content::RenderProcessHost*, std::set<ExtensionId>>
|
| + loaded_extensions_;
|
|
|
| // The set of ids for extensions that are active in a process that has not
|
| - // been initialized. The activation message will be sent the process is
|
| - // initialized.
|
| + // been initialized. The activation message will be sent once the process is
|
| + // initialized. This is only valid for uninitialized processes.
|
| std::map<content::RenderProcessHost*, std::set<ExtensionId>>
|
| pending_active_extensions_;
|
|
|
|
|