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

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

Issue 1706413002: Indexed DB: Rename "int version" to "version" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void OnUpgradeNeeded(const IndexedDBMsg_CallbacksUpgradeNeeded_Params& p); 235 void OnUpgradeNeeded(const IndexedDBMsg_CallbacksUpgradeNeeded_Params& p);
236 void OnAbort(int32_t ipc_thread_id, 236 void OnAbort(int32_t ipc_thread_id,
237 int32_t ipc_database_id, 237 int32_t ipc_database_id,
238 int64_t transaction_id, 238 int64_t transaction_id,
239 int code, 239 int code,
240 const base::string16& message); 240 const base::string16& message);
241 void OnComplete(int32_t ipc_thread_id, 241 void OnComplete(int32_t ipc_thread_id,
242 int32_t ipc_database_id, 242 int32_t ipc_database_id,
243 int64_t transaction_id); 243 int64_t transaction_id);
244 void OnForcedClose(int32_t ipc_thread_id, int32_t ipc_database_id); 244 void OnForcedClose(int32_t ipc_thread_id, int32_t ipc_database_id);
245 void OnIntVersionChange(int32_t ipc_thread_id, 245 void OnVersionChange(int32_t ipc_thread_id,
246 int32_t ipc_database_id, 246 int32_t ipc_database_id,
247 int64_t old_version, 247 int64_t old_version,
248 int64_t new_version); 248 int64_t new_version);
249 249
250 // Reset cursor prefetch caches for all cursors except exception_cursor_id. 250 // Reset cursor prefetch caches for all cursors except exception_cursor_id.
251 void ResetCursorPrefetchCaches(int64_t transaction_id, 251 void ResetCursorPrefetchCaches(int64_t transaction_id,
252 int32_t ipc_exception_cursor_id); 252 int32_t ipc_exception_cursor_id);
253 253
254 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 254 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
255 255
256 // Maximum size (in bytes) of value/key pair allowed for put requests. Any 256 // Maximum size (in bytes) of value/key pair allowed for put requests. Any
257 // requests larger than this size will be rejected. 257 // requests larger than this size will be rejected.
258 // Used by unit tests to exercise behavior without allocating huge chunks 258 // Used by unit tests to exercise behavior without allocating huge chunks
(...skipping 15 matching lines...) Expand all
274 std::map<int32_t, WebIDBCursorImpl*> cursors_; 274 std::map<int32_t, WebIDBCursorImpl*> cursors_;
275 275
276 std::map<int32_t, WebIDBDatabaseImpl*> databases_; 276 std::map<int32_t, WebIDBDatabaseImpl*> databases_;
277 277
278 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 278 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
279 }; 279 };
280 280
281 } // namespace content 281 } // namespace content
282 282
283 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 283 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.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