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

Side by Side Diff: content/common/utility_messages.h

Issue 10272018: Move IndexedDBKey, IndexedDBKeyRange into content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use "using content::*" aliasing for IDB/SSV types Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 15 matching lines...) Expand all
26 // These are messages from the browser to the utility process. 26 // These are messages from the browser to the utility process.
27 27
28 // Tell the utility process to extract the given IDBKeyPath from the 28 // Tell the utility process to extract the given IDBKeyPath from the
29 // SerializedScriptValue vector and reply with the corresponding IDBKeys. 29 // SerializedScriptValue vector and reply with the corresponding IDBKeys.
30 IPC_MESSAGE_CONTROL3(UtilityMsg_IDBKeysFromValuesAndKeyPath, 30 IPC_MESSAGE_CONTROL3(UtilityMsg_IDBKeysFromValuesAndKeyPath,
31 int, // id 31 int, // id
32 std::vector<content::SerializedScriptValue>, 32 std::vector<content::SerializedScriptValue>,
33 content::IndexedDBKeyPath) 33 content::IndexedDBKeyPath)
34 34
35 IPC_MESSAGE_CONTROL3(UtilityMsg_InjectIDBKey, 35 IPC_MESSAGE_CONTROL3(UtilityMsg_InjectIDBKey,
36 IndexedDBKey /* key */, 36 content::IndexedDBKey /* key */,
37 content::SerializedScriptValue /* value */, 37 content::SerializedScriptValue /* value */,
38 content::IndexedDBKeyPath) 38 content::IndexedDBKeyPath)
39 39
40 // Tells the utility process that it's running in batch mode. 40 // Tells the utility process that it's running in batch mode.
41 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) 41 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
42 42
43 // Tells the utility process that it can shutdown. 43 // Tells the utility process that it can shutdown.
44 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) 44 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished)
45 45
46 #if defined(OS_POSIX) 46 #if defined(OS_POSIX)
47 // Tells the utility process to load each plugin in the order specified by the 47 // Tells the utility process to load each plugin in the order specified by the
48 // vector. It will respond after each load with the WebPluginInfo. 48 // vector. It will respond after each load with the WebPluginInfo.
49 IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins, 49 IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins,
50 std::vector<FilePath> /* plugin paths */) 50 std::vector<FilePath> /* plugin paths */)
51 #endif 51 #endif
52 52
53 //------------------------------------------------------------------------------ 53 //------------------------------------------------------------------------------
54 // Utility process host messages: 54 // Utility process host messages:
55 // These are messages from the utility process to the browser. 55 // These are messages from the utility process to the browser.
56 56
57 // Reply when the utility process has succeeded in obtaining the value for 57 // Reply when the utility process has succeeded in obtaining the value for
58 // IDBKeyPath. 58 // IDBKeyPath.
59 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, 59 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded,
60 int /* id */, 60 int /* id */,
61 std::vector<IndexedDBKey> /* value */) 61 std::vector<content::IndexedDBKey> /* value */)
62 62
63 // Reply when the utility process has finished injecting an IDBKey into 63 // Reply when the utility process has finished injecting an IDBKey into
64 // a SerializedScriptValue. 64 // a SerializedScriptValue.
65 IPC_MESSAGE_CONTROL1(UtilityHostMsg_InjectIDBKey_Finished, 65 IPC_MESSAGE_CONTROL1(UtilityHostMsg_InjectIDBKey_Finished,
66 content::SerializedScriptValue /* new value */) 66 content::SerializedScriptValue /* new value */)
67 67
68 #if defined(OS_POSIX) 68 #if defined(OS_POSIX)
69 // Notifies the browser when a plugin failed to load so the two processes can 69 // Notifies the browser when a plugin failed to load so the two processes can
70 // keep the canonical list in sync. 70 // keep the canonical list in sync.
71 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, 71 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed,
72 uint32_t /* index in the vector */, 72 uint32_t /* index in the vector */,
73 FilePath /* path of plugin */) 73 FilePath /* path of plugin */)
74 74
75 // Notifies the browser that a plugin in the vector sent by it has been loaded. 75 // Notifies the browser that a plugin in the vector sent by it has been loaded.
76 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin, 76 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin,
77 uint32_t /* index in the vector */, 77 uint32_t /* index in the vector */,
78 webkit::WebPluginInfo /* plugin info */) 78 webkit::WebPluginInfo /* plugin info */)
79 #endif // OS_POSIX 79 #endif // OS_POSIX
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbobjectstore_impl.cc ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698