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

Unified Diff: chrome/common/utility_messages_internal.h

Issue 3043037: Adds IDBKeyPath parser / extractor, and provides a mechanism to call it sandboxed. (Closed)
Patch Set: Makes MSVC happy. Created 10 years, 4 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/utility_messages.h ('k') | chrome/utility/utility_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/utility_messages_internal.h
diff --git a/chrome/common/utility_messages_internal.h b/chrome/common/utility_messages_internal.h
index 923150128a750ed398f9ddc4e3fc54517d557683..08dd347ca2251548d0746e6fe0e3c5fdc5e9d2a8 100644
--- a/chrome/common/utility_messages_internal.h
+++ b/chrome/common/utility_messages_internal.h
@@ -48,6 +48,20 @@ IPC_BEGIN_MESSAGES(Utility)
gfx::Rect, // Render Area
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
+
+ // 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)
+
IPC_END_MESSAGES(Utility)
//------------------------------------------------------------------------------
@@ -111,4 +125,15 @@ IPC_BEGIN_MESSAGES(UtilityHost)
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 */)
+
IPC_END_MESSAGES(UtilityHost)
« no previous file with comments | « chrome/common/utility_messages.h ('k') | chrome/utility/utility_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698