| Index: chrome/common/extensions/extension_messages.h
|
| diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
|
| index f77916bfeb5c26cecc8676517a4aa5c442d90ca2..f6a40c3919dac5ac6424842c3797b75494d67fa5 100644
|
| --- a/chrome/common/extensions/extension_messages.h
|
| +++ b/chrome/common/extensions/extension_messages.h
|
| @@ -91,9 +91,11 @@ struct ExtensionMsg_Loaded_Params {
|
| ~ExtensionMsg_Loaded_Params();
|
| explicit ExtensionMsg_Loaded_Params(const Extension* extension);
|
|
|
| - // A copy constructor is needed because this structure can end up getting
|
| - // copied inside the IPC machinery on gcc <= 4.2.
|
| + // ExtensionMsg_Loaded uses a std:vector, so we need to be copyable
|
| + // and assignable.
|
| ExtensionMsg_Loaded_Params(const ExtensionMsg_Loaded_Params& other);
|
| + ExtensionMsg_Loaded_Params& operator=(
|
| + const ExtensionMsg_Loaded_Params& other);
|
|
|
| // Creates a new extension from the data in this object.
|
| scoped_refptr<Extension> ConvertToExtension() const;
|
| @@ -194,9 +196,9 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension,
|
| IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateApplication,
|
| std::string /* extension_id */)
|
|
|
| -// Notifies the renderer that an extension was loaded in the browser.
|
| +// Notifies the renderer that extensions were loaded in the browser.
|
| IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded,
|
| - ExtensionMsg_Loaded_Params)
|
| + std::vector<ExtensionMsg_Loaded_Params>)
|
|
|
| // Notifies the renderer that an extension was unloaded in the browser.
|
| IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded,
|
|
|