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

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

Issue 8542001: Insert default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Nit from mihaip. 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
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/renderer/extensions/extension_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.cc
diff --git a/chrome/common/extensions/extension_messages.cc b/chrome/common/extensions/extension_messages.cc
index 7ebee77c8f0cc216e420540f8b03809ba101a475..a32628906281a511ac0973fe9a99dfe048e68ff5 100644
--- a/chrome/common/extensions/extension_messages.cc
+++ b/chrome/common/extensions/extension_messages.cc
@@ -15,7 +15,7 @@ ExtensionMsg_Loaded_Params::~ExtensionMsg_Loaded_Params() {}
ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params(
const ExtensionMsg_Loaded_Params& other)
- : manifest(other.manifest->DeepCopy()),
+ : manifest(other.manifest),
location(other.location),
path(other.path),
apis(other.apis),
@@ -37,15 +37,16 @@ ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params(
// As we need more bits of extension data in the renderer, add more keys to
// this list.
const char* kRendererExtensionKeys[] = {
- extension_manifest_keys::kPublicKey,
- extension_manifest_keys::kName,
- extension_manifest_keys::kVersion,
+ extension_manifest_keys::kApp,
+ extension_manifest_keys::kContentScripts,
extension_manifest_keys::kIcons,
+ extension_manifest_keys::kName,
extension_manifest_keys::kPageAction,
extension_manifest_keys::kPageActions,
extension_manifest_keys::kPermissions,
- extension_manifest_keys::kApp,
- extension_manifest_keys::kContentScripts
+ extension_manifest_keys::kPlatformApp,
+ extension_manifest_keys::kPublicKey,
+ extension_manifest_keys::kVersion,
};
// Copy only the data we need.
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/renderer/extensions/extension_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698