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

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

Issue 11828054: Remove IPC code for old methods. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix merge conflicts Created 7 years, 11 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
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; 15 class WebIDBTransaction;
16 } 16 }
17 17
18 namespace content { 18 namespace content {
19 19
20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase { 20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
21 public: 21 public:
22 explicit RendererWebIDBDatabaseImpl(int32 ipc_database_id); 22 explicit RendererWebIDBDatabaseImpl(int32 ipc_database_id);
23 virtual ~RendererWebIDBDatabaseImpl(); 23 virtual ~RendererWebIDBDatabaseImpl();
24 24
25 // WebKit::WebIDBDatabase 25 // WebKit::WebIDBDatabase
26 virtual WebKit::WebIDBMetadata metadata() const; 26 virtual WebKit::WebIDBMetadata metadata() const;
27 virtual WebKit::WebIDBObjectStore* createObjectStore(
28 long long objectstore_id,
29 const WebKit::WebString& name,
30 const WebKit::WebIDBKeyPath& key_path,
31 bool auto_increment,
32 const WebKit::WebIDBTransaction& transaction,
33 WebKit::WebExceptionCode& ec);
34 virtual void createObjectStore( 27 virtual void createObjectStore(
35 long long transaction_id, 28 long long transaction_id,
36 long long objectstore_id, 29 long long objectstore_id,
37 const WebKit::WebString& name, 30 const WebKit::WebString& name,
38 const WebKit::WebIDBKeyPath& key_path, 31 const WebKit::WebIDBKeyPath& key_path,
39 bool auto_increment); 32 bool auto_increment);
40 virtual void deleteObjectStore( 33 virtual void deleteObjectStore(
41 long long object_store_id,
42 const WebKit::WebIDBTransaction& transaction,
43 WebKit::WebExceptionCode& ec);
44 virtual void deleteObjectStore(
45 long long transaction_id, 34 long long transaction_id,
46 long long object_store_id); 35 long long object_store_id);
47 virtual WebKit::WebIDBTransaction* createTransaction( 36 virtual WebKit::WebIDBTransaction* createTransaction(
48 long long transaction_id, 37 long long transaction_id,
49 const WebKit::WebVector<long long>& scope, 38 const WebKit::WebVector<long long>& scope,
50 unsigned short mode); 39 unsigned short mode);
51 virtual void close(); 40 virtual void close();
52 virtual void get(long long transactionId, 41 virtual void get(long long transactionId,
53 long long objectStoreId, 42 long long objectStoreId,
54 long long indexId, 43 long long indexId,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual void deleteIndex(long long transactionId, long 90 virtual void deleteIndex(long long transactionId, long
102 long objectStoreId, 91 long objectStoreId,
103 long long indexId); 92 long long indexId);
104 private: 93 private:
105 int32 ipc_database_id_; 94 int32 ipc_database_id_;
106 }; 95 };
107 96
108 } // namespace content 97 } // namespace content
109 98
110 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 99 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698