Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7284)

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 8542001: Insert default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Roll batch into ExtensionMsg_Loaded. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698