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

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

Issue 73153003: Remove dead code from IDB (chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang format to fix long lines Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_FAKE_BACKING_STORE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/browser/indexed_db/indexed_db_backing_store.h" 10 #include "content/browser/indexed_db/indexed_db_backing_store.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class IndexedDBFakeBackingStore : public IndexedDBBackingStore { 14 class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
15 public: 15 public:
16 IndexedDBFakeBackingStore() 16 IndexedDBFakeBackingStore()
17 : IndexedDBBackingStore(GURL("http://localhost:81"), 17 : IndexedDBBackingStore(GURL("http://localhost:81"),
18 scoped_ptr<LevelDBDatabase>(), 18 scoped_ptr<LevelDBDatabase>(),
19 scoped_ptr<LevelDBComparator>()) {} 19 scoped_ptr<LevelDBComparator>()) {}
20 virtual std::vector<string16> GetDatabaseNames() OVERRIDE; 20 virtual std::vector<string16> GetDatabaseNames() OVERRIDE;
21 virtual bool GetIDBDatabaseMetaData(const string16& name, 21 virtual bool GetIDBDatabaseMetaData(const string16& name,
22 IndexedDBDatabaseMetadata*, 22 IndexedDBDatabaseMetadata*,
23 bool* found) OVERRIDE; 23 bool* found) OVERRIDE;
24 virtual bool CreateIDBDatabaseMetaData(const string16& name, 24 virtual bool CreateIDBDatabaseMetaData(const string16& name,
25 const string16& version, 25 const string16& version,
26 int64 int_version, 26 int64 int_version,
27 int64* row_id) OVERRIDE; 27 int64* row_id) OVERRIDE;
28 virtual bool UpdateIDBDatabaseMetaData(Transaction*,
29 int64 row_id,
30 const string16& version) OVERRIDE;
31 virtual bool UpdateIDBDatabaseIntVersion(Transaction*, 28 virtual bool UpdateIDBDatabaseIntVersion(Transaction*,
32 int64 row_id, 29 int64 row_id,
33 int64 version) OVERRIDE; 30 int64 version) OVERRIDE;
34 virtual bool DeleteDatabase(const string16& name) OVERRIDE; 31 virtual bool DeleteDatabase(const string16& name) OVERRIDE;
35 32
36 virtual bool CreateObjectStore(Transaction*, 33 virtual bool CreateObjectStore(Transaction*,
37 int64 database_id, 34 int64 database_id,
38 int64 object_store_id, 35 int64 object_store_id,
39 const string16& name, 36 const string16& name,
40 const IndexedDBKeyPath&, 37 const IndexedDBKeyPath&,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 OVERRIDE; 108 OVERRIDE;
112 109
113 protected: 110 protected:
114 friend class base::RefCounted<IndexedDBFakeBackingStore>; 111 friend class base::RefCounted<IndexedDBFakeBackingStore>;
115 virtual ~IndexedDBFakeBackingStore(); 112 virtual ~IndexedDBFakeBackingStore();
116 }; 113 };
117 114
118 } // namespace content 115 } // namespace content
119 116
120 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 117 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/browser/indexed_db/indexed_db_fake_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698