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

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

Issue 11194026: Flush out IPC for onSuccess() / onSuccess(long long) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 (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_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" 10 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 class IndexedDBCallbacksDatabase : public IndexedDBCallbacksBase { 67 class IndexedDBCallbacksDatabase : public IndexedDBCallbacksBase {
68 public: 68 public:
69 IndexedDBCallbacksDatabase( 69 IndexedDBCallbacksDatabase(
70 IndexedDBDispatcherHost* dispatcher_host, 70 IndexedDBDispatcherHost* dispatcher_host,
71 int32 thread_id, 71 int32 thread_id,
72 int32 response_id, 72 int32 response_id,
73 const GURL& origin_url); 73 const GURL& origin_url);
74 74
75 virtual void onSuccess(WebKit::WebIDBDatabase* idb_object); 75 virtual void onSuccess(WebKit::WebIDBDatabase* idb_object);
76 virtual void onSuccess();
dgrogan 2012/10/17 01:21:00 This doesn't seem like it would be called unless I
76 virtual void onUpgradeNeeded( 77 virtual void onUpgradeNeeded(
77 long long old_version, 78 long long old_version,
78 WebKit::WebIDBTransaction* transaction, 79 WebKit::WebIDBTransaction* transaction,
79 WebKit::WebIDBDatabase* database); 80 WebKit::WebIDBDatabase* database);
80 81
81 private: 82 private:
82 GURL origin_url_; 83 GURL origin_url_;
83 int32 database_id_; 84 int32 database_id_;
84 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacksDatabase); 85 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacksDatabase);
85 }; 86 };
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 public: 172 public:
172 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host, 173 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host,
173 int32 thread_id, 174 int32 thread_id,
174 int32 response_id) 175 int32 response_id)
175 : IndexedDBCallbacksBase(dispatcher_host, thread_id, response_id) { } 176 : IndexedDBCallbacksBase(dispatcher_host, thread_id, response_id) { }
176 177
177 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value); 178 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value);
178 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value, 179 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value,
179 const WebKit::WebIDBKey& key, 180 const WebKit::WebIDBKey& key,
180 const WebKit::WebIDBKeyPath& keyPath); 181 const WebKit::WebIDBKeyPath& keyPath);
182 virtual void onSuccess(long long value);
183 virtual void onSuccess();
181 184
182 private: 185 private:
183 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); 186 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
184 }; 187 };
185 188
186 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ 189 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698