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

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

Issue 11193003: IndexedDB: Delete old IPC plumbing following WK99097 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TRANSACTION_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h " 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h "
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCall backs.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCall backs.h"
11 11
12 class IndexedDBDispatcherHost; 12 class IndexedDBDispatcherHost;
13 13
14 class IndexedDBTransactionCallbacks 14 class IndexedDBTransactionCallbacks
15 : public WebKit::WebIDBTransactionCallbacks { 15 : public WebKit::WebIDBTransactionCallbacks {
16 public: 16 public:
17 IndexedDBTransactionCallbacks(IndexedDBDispatcherHost* dispatcher_host, 17 IndexedDBTransactionCallbacks(IndexedDBDispatcherHost* dispatcher_host,
18 int thread_id, 18 int thread_id,
19 int transaction_id); 19 int transaction_id);
20 20
21 virtual ~IndexedDBTransactionCallbacks(); 21 virtual ~IndexedDBTransactionCallbacks();
22 22
23 // TODO(jsbell): Remove once WK99097 has landed.
24 virtual void onAbort();
25 virtual void onAbort(const WebKit::WebIDBDatabaseError& error); 23 virtual void onAbort(const WebKit::WebIDBDatabaseError& error);
26 virtual void onComplete(); 24 virtual void onComplete();
27 25
28 private: 26 private:
29 scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_; 27 scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
30 int thread_id_; 28 int thread_id_;
31 int transaction_id_; 29 int transaction_id_;
32 }; 30 };
33 31
34 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_ 32 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698