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

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

Issue 10332204: IPC plumbing for IDBObjectStore.autoIncrement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch that actually compiles and passes tests 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
« 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ~ObjectStoreDispatcherHost(); 190 ~ObjectStoreDispatcherHost();
191 191
192 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok); 192 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
193 void Send(IPC::Message* message); 193 void Send(IPC::Message* message);
194 194
195 void OnName(int32 idb_object_store_id, string16* name); 195 void OnName(int32 idb_object_store_id, string16* name);
196 void OnKeyPath(int32 idb_object_store_id, 196 void OnKeyPath(int32 idb_object_store_id,
197 content::IndexedDBKeyPath* keyPath); 197 content::IndexedDBKeyPath* keyPath);
198 void OnIndexNames(int32 idb_object_store_id, 198 void OnIndexNames(int32 idb_object_store_id,
199 std::vector<string16>* index_names); 199 std::vector<string16>* index_names);
200 void OnAutoIncrement(int32 idb_object_store_id, bool* auto_increment);
200 void OnGet(int idb_object_store_id, 201 void OnGet(int idb_object_store_id,
201 int32 thread_id, 202 int32 thread_id,
202 int32 response_id, 203 int32 response_id,
203 const content::IndexedDBKeyRange& key_range, 204 const content::IndexedDBKeyRange& key_range,
204 int32 transaction_id, 205 int32 transaction_id,
205 WebKit::WebExceptionCode* ec); 206 WebKit::WebExceptionCode* ec);
206 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params, 207 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params,
207 WebKit::WebExceptionCode* ec); 208 WebKit::WebExceptionCode* ec);
208 void OnDelete(int idb_object_store_id, 209 void OnDelete(int idb_object_store_id,
209 int32 thread_id, 210 int32 thread_id,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; 326 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_;
326 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; 327 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_;
327 328
328 // Used to dispatch messages to the correct view host. 329 // Used to dispatch messages to the correct view host.
329 int process_id_; 330 int process_id_;
330 331
331 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 332 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
332 }; 333 };
333 334
334 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 335 #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