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

Side by Side Diff: content/common/indexed_db/proxy_webidbdatabase_impl.h

Issue 12129002: Remove deprecated IPC code for onUpgradeNeeded/onSuccess/metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
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_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebIDBCallbacks; 12 class WebIDBCallbacks;
13 class WebIDBDatabaseCallbacks; 13 class WebIDBDatabaseCallbacks;
14 class WebString; 14 class WebString;
15 class WebIDBTransaction;
16 } 15 }
17 16
18 namespace content { 17 namespace content {
19 18
20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase { 19 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
21 public: 20 public:
22 explicit RendererWebIDBDatabaseImpl(int32 ipc_database_id); 21 explicit RendererWebIDBDatabaseImpl(int32 ipc_database_id);
23 virtual ~RendererWebIDBDatabaseImpl(); 22 virtual ~RendererWebIDBDatabaseImpl();
24 23
25 // WebKit::WebIDBDatabase 24 // WebKit::WebIDBDatabase
26 virtual WebKit::WebIDBMetadata metadata() const;
27 virtual void createObjectStore( 25 virtual void createObjectStore(
28 long long transaction_id, 26 long long transaction_id,
29 long long objectstore_id, 27 long long objectstore_id,
30 const WebKit::WebString& name, 28 const WebKit::WebString& name,
31 const WebKit::WebIDBKeyPath& key_path, 29 const WebKit::WebIDBKeyPath& key_path,
32 bool auto_increment); 30 bool auto_increment);
33 virtual void deleteObjectStore( 31 virtual void deleteObjectStore(
34 long long transaction_id, 32 long long transaction_id,
35 long long object_store_id); 33 long long object_store_id);
36 virtual void createTransaction( 34 virtual void createTransaction(
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void abort(long long transaction_id); 92 virtual void abort(long long transaction_id);
95 virtual void commit(long long transaction_id); 93 virtual void commit(long long transaction_id);
96 94
97 private: 95 private:
98 int32 ipc_database_id_; 96 int32 ipc_database_id_;
99 }; 97 };
100 98
101 } // namespace content 99 } // namespace content
102 100
103 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 101 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698