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

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

Issue 73153003: Remove dead code from IDB (chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 (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_BACKING_STORE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 LevelDBFactory* factory); 71 LevelDBFactory* factory);
72 72
73 virtual std::vector<string16> GetDatabaseNames(); 73 virtual std::vector<string16> GetDatabaseNames();
74 virtual bool GetIDBDatabaseMetaData(const string16& name, 74 virtual bool GetIDBDatabaseMetaData(const string16& name,
75 IndexedDBDatabaseMetadata* metadata, 75 IndexedDBDatabaseMetadata* metadata,
76 bool* success) WARN_UNUSED_RESULT; 76 bool* success) WARN_UNUSED_RESULT;
77 virtual bool CreateIDBDatabaseMetaData(const string16& name, 77 virtual bool CreateIDBDatabaseMetaData(const string16& name,
78 const string16& version, 78 const string16& version,
79 int64 int_version, 79 int64 int_version,
80 int64* row_id); 80 int64* row_id);
81 virtual bool UpdateIDBDatabaseMetaData(
82 IndexedDBBackingStore::Transaction* transaction,
83 int64 row_id,
84 const string16& version);
85 virtual bool UpdateIDBDatabaseIntVersion( 81 virtual bool UpdateIDBDatabaseIntVersion(
86 IndexedDBBackingStore::Transaction* transaction, 82 IndexedDBBackingStore::Transaction* transaction,
87 int64 row_id, 83 int64 row_id,
88 int64 int_version); 84 int64 int_version);
89 virtual bool DeleteDatabase(const string16& name); 85 virtual bool DeleteDatabase(const string16& name);
90 86
91 bool GetObjectStores(int64 database_id, 87 bool GetObjectStores(int64 database_id,
92 IndexedDBDatabaseMetadata::ObjectStoreMap* map) 88 IndexedDBDatabaseMetadata::ObjectStoreMap* map)
93 WARN_UNUSED_RESULT; 89 WARN_UNUSED_RESULT;
94 virtual bool CreateObjectStore( 90 virtual bool CreateObjectStore(
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 const std::string origin_identifier_; 325 const std::string origin_identifier_;
330 326
331 scoped_ptr<LevelDBDatabase> db_; 327 scoped_ptr<LevelDBDatabase> db_;
332 scoped_ptr<LevelDBComparator> comparator_; 328 scoped_ptr<LevelDBComparator> comparator_;
333 base::OneShotTimer<IndexedDBBackingStore> close_timer_; 329 base::OneShotTimer<IndexedDBBackingStore> close_timer_;
334 }; 330 };
335 331
336 } // namespace content 332 } // namespace content
337 333
338 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 334 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698