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

Side by Side Diff: content/browser/indexed_db/indexed_db_database.h

Issue 15724006: Migrate IDBDatabaseBackendTest from blink to chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix exports for WebIDBDatabase too Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_INDEXED_DB_INDEXED_DB_DATABASE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 scoped_ptr<IndexedDBKey> primary_key, 95 scoped_ptr<IndexedDBKey> primary_key,
96 const std::vector<int64>& index_ids, 96 const std::vector<int64>& index_ids,
97 const std::vector<IndexKeys>& index_keys) = 0; 97 const std::vector<IndexKeys>& index_keys) = 0;
98 virtual void SetIndexesReady(int64 transaction_id, 98 virtual void SetIndexesReady(int64 transaction_id,
99 int64 object_store_id, 99 int64 object_store_id,
100 const std::vector<int64>& index_ids) = 0; 100 const std::vector<int64>& index_ids) = 0;
101 virtual void OpenCursor( 101 virtual void OpenCursor(
102 int64 transaction_id, 102 int64 transaction_id,
103 int64 object_store_id, 103 int64 object_store_id,
104 int64 index_id, 104 int64 index_id,
105 scoped_ptr<IndexedDBKeyRange> key_Range, 105 scoped_ptr<IndexedDBKeyRange> key_range,
106 indexed_db::CursorDirection direction, 106 indexed_db::CursorDirection direction,
107 bool key_only, 107 bool key_only,
108 TaskType task_type, 108 TaskType task_type,
109 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0; 109 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0;
110 virtual void Count(int64 transaction_id, 110 virtual void Count(int64 transaction_id,
111 int64 object_store_id, 111 int64 object_store_id,
112 int64 index_id, 112 int64 index_id,
113 scoped_ptr<IndexedDBKeyRange> key_range, 113 scoped_ptr<IndexedDBKeyRange> key_range,
114 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0; 114 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0;
115 virtual void DeleteRange( 115 virtual void DeleteRange(
116 int64 transaction_id, 116 int64 transaction_id,
117 int64 object_store_id, 117 int64 object_store_id,
118 scoped_ptr<IndexedDBKeyRange> key_range, 118 scoped_ptr<IndexedDBKeyRange> key_range,
119 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0; 119 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0;
120 virtual void Clear(int64 transaction_id, 120 virtual void Clear(int64 transaction_id,
121 int64 object_store_id, 121 int64 object_store_id,
122 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0; 122 scoped_refptr<IndexedDBCallbacksWrapper> callbacks) = 0;
123 123
124 protected: 124 protected:
125 virtual ~IndexedDBDatabase() {} 125 virtual ~IndexedDBDatabase() {}
126 friend class base::RefCounted<IndexedDBDatabase>; 126 friend class base::RefCounted<IndexedDBDatabase>;
127 }; 127 };
128 128
129 } // namespace content 129 } // namespace content
130 130
131 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ 131 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698