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/WebData.h" | 12 #include "third_party/WebKit/public/platform/WebData.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCallbacks.h" | 13 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCursor.h" | 14 #include "third_party/WebKit/public/platform/WebIDBCursor.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabase.h" | 15 #include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabaseError
.h" | 16 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 17 #include "third_party/WebKit/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(long long old_version); | 26 virtual void onBlocked(long long old_version); |
27 | 27 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 virtual void onSuccess(); | 178 virtual void onSuccess(); |
179 virtual void onSuccess(const WebKit::WebIDBKey& value); | 179 virtual void onSuccess(const WebKit::WebIDBKey& value); |
180 | 180 |
181 private: | 181 private: |
182 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); | 182 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); |
183 }; | 183 }; |
184 | 184 |
185 } // namespace content | 185 } // namespace content |
186 | 186 |
187 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ | 187 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ |
OLD | NEW |