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

Side by Side Diff: content/child/indexed_db/indexed_db_dispatcher.h

Issue 18075008: IndexedDB: Switch key/value handling from vector<char> to std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove C++11ism Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p); 187 const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p);
188 void OnSuccessCursorContinue( 188 void OnSuccessCursorContinue(
189 const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p); 189 const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p);
190 void OnSuccessCursorPrefetch( 190 void OnSuccessCursorPrefetch(
191 const IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params& p); 191 const IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params& p);
192 void OnSuccessStringList(int32 ipc_thread_id, 192 void OnSuccessStringList(int32 ipc_thread_id,
193 int32 ipc_callbacks_id, 193 int32 ipc_callbacks_id,
194 const std::vector<string16>& value); 194 const std::vector<string16>& value);
195 void OnSuccessValue(int32 ipc_thread_id, 195 void OnSuccessValue(int32 ipc_thread_id,
196 int32 ipc_callbacks_id, 196 int32 ipc_callbacks_id,
197 const std::vector<char>& value); 197 const std::string& value);
198 void OnSuccessValueWithKey(int32 ipc_thread_id, 198 void OnSuccessValueWithKey(int32 ipc_thread_id,
199 int32 ipc_callbacks_id, 199 int32 ipc_callbacks_id,
200 const std::vector<char>& value, 200 const std::string& value,
201 const IndexedDBKey& primary_key, 201 const IndexedDBKey& primary_key,
202 const IndexedDBKeyPath& key_path); 202 const IndexedDBKeyPath& key_path);
203 void OnSuccessInteger(int32 ipc_thread_id, 203 void OnSuccessInteger(int32 ipc_thread_id,
204 int32 ipc_callbacks_id, 204 int32 ipc_callbacks_id,
205 int64 value); 205 int64 value);
206 void OnSuccessUndefined(int32 ipc_thread_id, int32 ipc_callbacks_id); 206 void OnSuccessUndefined(int32 ipc_thread_id, int32 ipc_callbacks_id);
207 void OnError(int32 ipc_thread_id, 207 void OnError(int32 ipc_thread_id,
208 int32 ipc_callbacks_id, 208 int32 ipc_callbacks_id,
209 int code, 209 int code,
210 const string16& message); 210 const string16& message);
(...skipping 30 matching lines...) Expand all
241 std::map<int32, RendererWebIDBCursorImpl*> cursors_; 241 std::map<int32, RendererWebIDBCursorImpl*> cursors_;
242 242
243 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; 243 std::map<int32, RendererWebIDBDatabaseImpl*> databases_;
244 244
245 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 245 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
246 }; 246 };
247 247
248 } // namespace content 248 } // namespace content
249 249
250 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 250 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_write_batch.cc ('k') | content/child/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698