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

Unified Diff: chrome/common/render_messages_internal.h

Issue 115595: Have the browser process rewrite manifest.json and theme images that the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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/render_messages.h ('k') | chrome/test/data/extensions/page_action.crx » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 16736)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -16,6 +16,7 @@
#include "base/gfx/rect.h"
#include "base/gfx/native_widget_types.h"
#include "base/shared_memory.h"
+#include "base/values.h"
#include "chrome/common/ipc_message_macros.h"
#include "chrome/common/transport_dib.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -1393,9 +1394,16 @@
// These are messages from the utility process to the browser. They're here
// because we ran out of spare message types.
- // Reply when the utility process is done unpacking an extension. |success|
- // argument is true if the extension unpacked and verified successfully.
- IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Reply,
- bool /* success */,
+ // Reply when the utility process is done unpacking an extension. |manifest|
+ // is the parsed manifest.json file. |images| is a list of decoded images
+ // and the path to where they should be written to, relative to the
+ // manifest file.
+ IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded,
+ DictionaryValue /* manifest */,
+ std::vector<UnpackExtension_ImagePathPair> /* images */)
+
+ // Reply when the utility process has failed while unpacking an extension.
+ // |error_message| is a user-displayable explanation of what went wrong.
+ IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed,
std::string /* error_message, if any */)
IPC_END_MESSAGES(ViewHost)
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/test/data/extensions/page_action.crx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698