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" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h
" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h
" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class IndexedDBCallbacksBase : public WebKit::WebIDBCallbacks { | 21 class IndexedDBCallbacksBase : public WebKit::WebIDBCallbacks { |
22 public: | 22 public: |
23 virtual ~IndexedDBCallbacksBase(); | 23 virtual ~IndexedDBCallbacksBase(); |
24 | 24 |
25 virtual void onError(const WebKit::WebIDBDatabaseError& error); | 25 virtual void onError(const WebKit::WebIDBDatabaseError& error); |
26 virtual void onBlocked(); | 26 virtual void onBlocked(); |
27 virtual void onBlocked(long long old_version); | 27 virtual void onBlocked(long long old_version); |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 virtual void onSuccess(); | 172 virtual void onSuccess(); |
173 virtual void onSuccess(const WebKit::WebIDBKey& value); | 173 virtual void onSuccess(const WebKit::WebIDBKey& value); |
174 | 174 |
175 private: | 175 private: |
176 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); | 176 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
180 | 180 |
181 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ | 181 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ |
OLD | NEW |