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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 12217049: Proxy WebData-based WebIDBDatabase::put (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to use explicit &front() Created 7 years, 10 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
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/id_map.h" 12 #include "base/id_map.h"
13 #include "content/public/browser/browser_message_filter.h" 13 #include "content/public/browser/browser_message_filter.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h"
15 15
16 class GURL; 16 class GURL;
17 struct IndexedDBDatabaseMetadata; 17 struct IndexedDBDatabaseMetadata;
18 struct IndexedDBHostMsg_DatabaseCount_Params; 18 struct IndexedDBHostMsg_DatabaseCount_Params;
19 struct IndexedDBHostMsg_DatabaseCreateIndex_Params; 19 struct IndexedDBHostMsg_DatabaseCreateIndex_Params;
20 struct IndexedDBHostMsg_DatabaseCreateObjectStoreOld_Params; 20 struct IndexedDBHostMsg_DatabaseCreateObjectStoreOld_Params;
21 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params; 21 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
22 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params; 22 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params;
23 struct IndexedDBHostMsg_DatabaseDeleteRange_Params; 23 struct IndexedDBHostMsg_DatabaseDeleteRange_Params;
24 struct IndexedDBHostMsg_DatabaseGet_Params; 24 struct IndexedDBHostMsg_DatabaseGet_Params;
25 struct IndexedDBHostMsg_DatabaseOpenCursor_Params; 25 struct IndexedDBHostMsg_DatabaseOpenCursor_Params;
26 struct IndexedDBHostMsg_DatabasePutOld_Params;
26 struct IndexedDBHostMsg_DatabasePut_Params; 27 struct IndexedDBHostMsg_DatabasePut_Params;
27 struct IndexedDBHostMsg_DatabaseSetIndexKeys_Params; 28 struct IndexedDBHostMsg_DatabaseSetIndexKeys_Params;
28 struct IndexedDBHostMsg_FactoryDeleteDatabase_Params; 29 struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
29 struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params; 30 struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
30 struct IndexedDBHostMsg_FactoryOpen_Params; 31 struct IndexedDBHostMsg_FactoryOpen_Params;
31 struct IndexedDBHostMsg_IndexCount_Params;
32 struct IndexedDBHostMsg_IndexOpenCursor_Params;
33 struct IndexedDBHostMsg_ObjectStoreCount_Params;
34 struct IndexedDBHostMsg_ObjectStoreCreateIndex_Params;
35 struct IndexedDBHostMsg_ObjectStoreOpenCursor_Params;
36 struct IndexedDBHostMsg_ObjectStorePut_Params;
37 32
38 namespace WebKit { 33 namespace WebKit {
39 class WebIDBCursor; 34 class WebIDBCursor;
40 class WebIDBDatabase; 35 class WebIDBDatabase;
41 class WebIDBIndex; 36 class WebIDBIndex;
42 class WebIDBObjectStore; 37 class WebIDBObjectStore;
43 struct WebIDBMetadata; 38 struct WebIDBMetadata;
44 } 39 }
45 40
46 namespace content { 41 namespace content {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int64 transaction_id, 124 int64 transaction_id,
130 int64 object_store_id); 125 int64 object_store_id);
131 void OnCreateTransaction( 126 void OnCreateTransaction(
132 const IndexedDBHostMsg_DatabaseCreateTransaction_Params&); 127 const IndexedDBHostMsg_DatabaseCreateTransaction_Params&);
133 void OnOpen(int32 ipc_database_id, int32 ipc_thread_id, 128 void OnOpen(int32 ipc_database_id, int32 ipc_thread_id,
134 int32 ipc_response_id); 129 int32 ipc_response_id);
135 void OnClose(int32 ipc_database_id); 130 void OnClose(int32 ipc_database_id);
136 void OnDestroyed(int32 ipc_database_id); 131 void OnDestroyed(int32 ipc_database_id);
137 132
138 void OnGet(const IndexedDBHostMsg_DatabaseGet_Params& params); 133 void OnGet(const IndexedDBHostMsg_DatabaseGet_Params& params);
134 void OnPutOld(const IndexedDBHostMsg_DatabasePutOld_Params& params);
139 void OnPut(const IndexedDBHostMsg_DatabasePut_Params& params); 135 void OnPut(const IndexedDBHostMsg_DatabasePut_Params& params);
140 void OnSetIndexKeys( 136 void OnSetIndexKeys(
141 const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params); 137 const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params);
142 void OnSetIndexesReady( 138 void OnSetIndexesReady(
143 int32 ipc_database_id, 139 int32 ipc_database_id,
144 int64 transaction_id, 140 int64 transaction_id,
145 int64 object_store_id, 141 int64 object_store_id,
146 const std::vector<int64>& ids); 142 const std::vector<int64>& ids);
147 void OnOpenCursor( 143 void OnOpenCursor(
148 const IndexedDBHostMsg_DatabaseOpenCursor_Params& params); 144 const IndexedDBHostMsg_DatabaseOpenCursor_Params& params);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 209
214 // Used to dispatch messages to the correct view host. 210 // Used to dispatch messages to the correct view host.
215 int ipc_process_id_; 211 int ipc_process_id_;
216 212
217 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 213 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
218 }; 214 };
219 215
220 } // namespace content 216 } // namespace content
221 217
222 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 218 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698