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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 6995095: Move UtilityProcessHost to content and move the message sending/dispatching to the clients. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Index: chrome/common/chrome_utility_messages.h
===================================================================
--- chrome/common/chrome_utility_messages.h (revision 88135)
+++ chrome/common/chrome_utility_messages.h (working copy)
@@ -13,17 +13,14 @@
#include "base/values.h"
#include "chrome/common/extensions/update_manifest.h"
#include "content/common/common_param_traits.h"
-#include "content/common/indexed_db_key.h"
-#include "content/common/indexed_db_param_traits.h"
#include "content/common/serialized_script_value.h"
#include "ipc/ipc_message_macros.h"
-#include "ipc/ipc_message_utils.h"
#include "printing/backend/print_backend.h"
#include "printing/page_range.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/rect.h"
-#define IPC_MESSAGE_START UtilityMsgStart
+#define IPC_MESSAGE_START ChromeUtilityMsgStart
IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
IPC_STRUCT_TRAITS_MEMBER(from)
@@ -84,28 +81,10 @@
int, // DPI
std::vector<printing::PageRange>)
-// Tell the utility process to extract the given IDBKeyPath from the
-// SerializedScriptValue vector and reply with the corresponding IDBKeys.
-IPC_MESSAGE_CONTROL3(UtilityMsg_IDBKeysFromValuesAndKeyPath,
- int, // id
- std::vector<SerializedScriptValue>,
- string16) // IDBKeyPath
-
-IPC_MESSAGE_CONTROL3(UtilityMsg_InjectIDBKey,
- IndexedDBKey /* key */,
- SerializedScriptValue /* value */,
- string16 /* key path*/)
-
// Tell the utility process to parse a JSON string into a Value object.
IPC_MESSAGE_CONTROL1(UtilityMsg_ParseJSON,
std::string /* JSON to parse */)
-// Tells the utility process that it's running in batch mode.
-IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
-
-// Tells the utility process that it can shutdown.
-IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished)
-
// Tells the utility process to get capabilities and defaults for the specified
// printer. Used on Windows to isolate the service process from printer driver
// crashes by executing this in a separate process. This does not run in a
@@ -171,22 +150,6 @@
LOGFONT /* font data */)
#endif // defined(OS_WIN)
-// Reply when the utility process has succeeded in obtaining the value for
-// IDBKeyPath.
-IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded,
- int /* id */,
- std::vector<IndexedDBKey> /* value */)
-
-// Reply when the utility process has failed in obtaining the value for
-// IDBKeyPath.
-IPC_MESSAGE_CONTROL1(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed,
- int /* id */)
-
-// Reply when the utility process has finished injecting an IDBKey into
-// a SerializedScriptValue.
-IPC_MESSAGE_CONTROL1(UtilityHostMsg_InjectIDBKey_Finished,
- SerializedScriptValue /* new value */)
-
// Reply when the utility process successfully parsed a JSON string.
//
// WARNING: The result can be of any Value subclass type, but we can't easily

Powered by Google App Engine
This is Rietveld 408576698