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_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 |
(...skipping 21 matching lines...) Expand all Loading... |
32 long long objectstore_id, | 32 long long objectstore_id, |
33 const WebKit::WebString& name, | 33 const WebKit::WebString& name, |
34 const WebKit::WebIDBKeyPath& key_path, | 34 const WebKit::WebIDBKeyPath& key_path, |
35 bool auto_increment, | 35 bool auto_increment, |
36 const WebKit::WebIDBTransaction& transaction, | 36 const WebKit::WebIDBTransaction& transaction, |
37 WebKit::WebExceptionCode& ec); | 37 WebKit::WebExceptionCode& ec); |
38 virtual void deleteObjectStore( | 38 virtual void deleteObjectStore( |
39 long long object_store_id, | 39 long long object_store_id, |
40 const WebKit::WebIDBTransaction& transaction, | 40 const WebKit::WebIDBTransaction& transaction, |
41 WebKit::WebExceptionCode& ec); | 41 WebKit::WebExceptionCode& ec); |
42 virtual void setVersion( | |
43 const WebKit::WebString& version, WebKit::WebIDBCallbacks* callbacks, | |
44 WebKit::WebExceptionCode& ec); | |
45 virtual WebKit::WebIDBTransaction* transaction( | 42 virtual WebKit::WebIDBTransaction* transaction( |
46 const WebKit::WebVector<long long>& objectStoreIds, | 43 const WebKit::WebVector<long long>& objectStoreIds, |
47 unsigned short mode); | 44 unsigned short mode); |
48 virtual void close(); | 45 virtual void close(); |
49 | 46 |
50 private: | 47 private: |
51 int32 idb_database_id_; | 48 int32 idb_database_id_; |
52 }; | 49 }; |
53 | 50 |
54 } // namespace content | 51 } // namespace content |
55 | 52 |
56 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ | 53 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ |
OLD | NEW |