| OLD | NEW |
| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 public: | 171 public: |
| 172 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host, | 172 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host, |
| 173 int32 thread_id, | 173 int32 thread_id, |
| 174 int32 response_id) | 174 int32 response_id) |
| 175 : IndexedDBCallbacksBase(dispatcher_host, thread_id, response_id) { } | 175 : IndexedDBCallbacksBase(dispatcher_host, thread_id, response_id) { } |
| 176 | 176 |
| 177 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value); | 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 const WebKit::WebIDBKey& key, | 179 const WebKit::WebIDBKey& key, |
| 180 const WebKit::WebIDBKeyPath& keyPath); | 180 const WebKit::WebIDBKeyPath& keyPath); |
| 181 virtual void onSuccess(long long value); |
| 182 virtual void onSuccess(); |
| 181 | 183 |
| 182 private: | 184 private: |
| 183 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); | 185 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); |
| 184 }; | 186 }; |
| 185 | 187 |
| 186 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ | 188 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ |
| OLD | NEW |