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

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

Issue 12129002: Remove deprecated IPC code for onUpgradeNeeded/onSuccess/metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 typedef std::map<int64, uint64> WebIDBTransactionIDToSizeMap; 116 typedef std::map<int64, uint64> WebIDBTransactionIDToSizeMap;
117 117
118 class DatabaseDispatcherHost { 118 class DatabaseDispatcherHost {
119 public: 119 public:
120 explicit DatabaseDispatcherHost(IndexedDBDispatcherHost* parent); 120 explicit DatabaseDispatcherHost(IndexedDBDispatcherHost* parent);
121 ~DatabaseDispatcherHost(); 121 ~DatabaseDispatcherHost();
122 122
123 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok); 123 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
124 void Send(IPC::Message* message); 124 void Send(IPC::Message* message);
125 125
126 void OnMetadata(int32 ipc_database_id,
127 IndexedDBDatabaseMetadata* metadata);
128 void OnCreateObjectStore( 126 void OnCreateObjectStore(
129 const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params); 127 const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params);
130 void OnDeleteObjectStore(int32 ipc_database_id, 128 void OnDeleteObjectStore(int32 ipc_database_id,
131 int64 transaction_id, 129 int64 transaction_id,
132 int64 object_store_id); 130 int64 object_store_id);
133 void OnCreateTransaction( 131 void OnCreateTransaction(
134 const IndexedDBHostMsg_DatabaseCreateTransaction_Params&); 132 const IndexedDBHostMsg_DatabaseCreateTransaction_Params&);
135 void OnOpen(int32 ipc_database_id, int32 ipc_thread_id, 133 void OnOpen(int32 ipc_database_id, int32 ipc_thread_id,
136 int32 ipc_response_id); 134 int32 ipc_response_id);
137 void OnClose(int32 ipc_database_id); 135 void OnClose(int32 ipc_database_id);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 213
216 // Used to dispatch messages to the correct view host. 214 // Used to dispatch messages to the correct view host.
217 int ipc_process_id_; 215 int ipc_process_id_;
218 216
219 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 217 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
220 }; 218 };
221 219
222 } // namespace content 220 } // namespace content
223 221
224 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 222 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698