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

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

Issue 10916318: IndexedDB: Remove unused two-phase-open methods following WK90411 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void OnWorkerRunLoopStopped() OVERRIDE; 63 virtual void OnWorkerRunLoopStopped() OVERRIDE;
64 64
65 void OnMessageReceived(const IPC::Message& msg); 65 void OnMessageReceived(const IPC::Message& msg);
66 static bool Send(IPC::Message* msg); 66 static bool Send(IPC::Message* msg);
67 67
68 void RequestIDBFactoryGetDatabaseNames( 68 void RequestIDBFactoryGetDatabaseNames(
69 WebKit::WebIDBCallbacks* callbacks, 69 WebKit::WebIDBCallbacks* callbacks,
70 const string16& origin, 70 const string16& origin,
71 WebKit::WebFrame* web_frame); 71 WebKit::WebFrame* web_frame);
72 72
73 // TODO(jsbell): Remove this overload once WK90411 rolls.
74 void RequestIDBFactoryOpen(
75 const string16& name,
76 int64 version,
77 WebKit::WebIDBCallbacks* callbacks,
78 const string16& origin,
79 WebKit::WebFrame* web_frame);
80
81 void RequestIDBFactoryOpen( 73 void RequestIDBFactoryOpen(
82 const string16& name, 74 const string16& name,
83 int64 version, 75 int64 version,
84 WebKit::WebIDBCallbacks* callbacks, 76 WebKit::WebIDBCallbacks* callbacks,
85 WebKit::WebIDBDatabaseCallbacks* database_callbacks, 77 WebKit::WebIDBDatabaseCallbacks* database_callbacks,
86 const string16& origin, 78 const string16& origin,
87 WebKit::WebFrame* web_frame); 79 WebKit::WebFrame* web_frame);
88 80
89 void RequestIDBFactoryDeleteDatabase( 81 void RequestIDBFactoryDeleteDatabase(
90 const string16& name, 82 const string16& name,
(...skipping 23 matching lines...) Expand all
114 int32 idb_cursor_id); 106 int32 idb_cursor_id);
115 107
116 void RequestIDBCursorDelete( 108 void RequestIDBCursorDelete(
117 WebKit::WebIDBCallbacks* callbacks_ptr, 109 WebKit::WebIDBCallbacks* callbacks_ptr,
118 int32 idb_cursor_id, 110 int32 idb_cursor_id,
119 WebKit::WebExceptionCode* ec); 111 WebKit::WebExceptionCode* ec);
120 112
121 void RequestIDBDatabaseClose( 113 void RequestIDBDatabaseClose(
122 int32 idb_database_id); 114 int32 idb_database_id);
123 115
124 void RequestIDBDatabaseOpen(
125 WebKit::WebIDBDatabaseCallbacks* callbacks_ptr,
126 int32 idb_database_id);
127
128 void RequestIDBDatabaseSetVersion( 116 void RequestIDBDatabaseSetVersion(
129 const string16& version, 117 const string16& version,
130 WebKit::WebIDBCallbacks* callbacks, 118 WebKit::WebIDBCallbacks* callbacks,
131 int32 idb_database_id, 119 int32 idb_database_id,
132 WebKit::WebExceptionCode* ec); 120 WebKit::WebExceptionCode* ec);
133 121
134 void RequestIDBIndexOpenObjectCursor( 122 void RequestIDBIndexOpenObjectCursor(
135 const WebKit::WebIDBKeyRange& idb_key_range, 123 const WebKit::WebIDBKeyRange& idb_key_range,
136 unsigned short direction, 124 unsigned short direction,
137 WebKit::WebIDBCallbacks* callbacks, 125 WebKit::WebIDBCallbacks* callbacks,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 280
293 // Map from cursor id to RendererWebIDBCursorImpl. 281 // Map from cursor id to RendererWebIDBCursorImpl.
294 std::map<int32, RendererWebIDBCursorImpl*> cursors_; 282 std::map<int32, RendererWebIDBCursorImpl*> cursors_;
295 283
296 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; 284 std::map<int32, RendererWebIDBDatabaseImpl*> databases_;
297 285
298 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 286 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
299 }; 287 };
300 288
301 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 289 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698