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_database_callbacks.h

Issue 12939002: IndexedDB: Remove unused plumbing for string version changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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_database_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_DATABASE_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DATABASE_CALLBACKS_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DATABASE_CALLBACKS_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DATABASE_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/WebIDBDatabaseCallbac ks.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h"
10 10
11 namespace content { 11 namespace content {
12 class IndexedDBDispatcherHost; 12 class IndexedDBDispatcherHost;
13 13
14 class IndexedDBDatabaseCallbacks : public WebKit::WebIDBDatabaseCallbacks { 14 class IndexedDBDatabaseCallbacks : public WebKit::WebIDBDatabaseCallbacks {
15 public: 15 public:
16 IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host, 16 IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host,
17 int ipc_thread_id, 17 int ipc_thread_id,
18 int ipc_database_id); 18 int ipc_database_id);
19 19
20 virtual ~IndexedDBDatabaseCallbacks(); 20 virtual ~IndexedDBDatabaseCallbacks();
21 21
22 virtual void onForcedClose(); 22 virtual void onForcedClose();
23 virtual void onVersionChange(long long old_version, 23 virtual void onVersionChange(long long old_version,
24 long long new_version); 24 long long new_version);
25 virtual void onVersionChange(const WebKit::WebString& requested_version);
26
27 virtual void onAbort(long long host_transaction_id, 25 virtual void onAbort(long long host_transaction_id,
28 const WebKit::WebIDBDatabaseError&); 26 const WebKit::WebIDBDatabaseError&);
29 virtual void onComplete(long long host_transaction_id); 27 virtual void onComplete(long long host_transaction_id);
30 28
31 private: 29 private:
32 scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_; 30 scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
33 int ipc_thread_id_; 31 int ipc_thread_id_;
34 int ipc_database_id_; 32 int ipc_database_id_;
35 }; 33 };
36 34
37 } // namespace content 35 } // namespace content
38 36
39 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DATABASE_CALLBACKS_H_ 37 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DATABASE_CALLBACKS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_database_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698