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

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: 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
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 LevelDBFactory* factory); 70 LevelDBFactory* factory);
71 71
72 virtual std::vector<string16> GetDatabaseNames(); 72 virtual std::vector<string16> GetDatabaseNames();
73 virtual bool GetIDBDatabaseMetaData(const string16& name, 73 virtual bool GetIDBDatabaseMetaData(const string16& name,
74 IndexedDBDatabaseMetadata* metadata, 74 IndexedDBDatabaseMetadata* metadata,
75 bool* success) WARN_UNUSED_RESULT; 75 bool* success) WARN_UNUSED_RESULT;
76 virtual bool CreateIDBDatabaseMetaData(const string16& name, 76 virtual bool CreateIDBDatabaseMetaData(const string16& name,
77 const string16& version, 77 const string16& version,
78 int64 int_version, 78 int64 int_version,
79 int64* row_id); 79 int64* row_id);
80 virtual bool UpdateIDBDatabaseMetaData(
81 IndexedDBBackingStore::Transaction* transaction,
82 int64 row_id,
83 const string16& version);
84 virtual bool UpdateIDBDatabaseIntVersion( 80 virtual bool UpdateIDBDatabaseIntVersion(
85 IndexedDBBackingStore::Transaction* transaction, 81 IndexedDBBackingStore::Transaction* transaction,
86 int64 row_id, 82 int64 row_id,
87 int64 int_version); 83 int64 int_version);
88 virtual bool DeleteDatabase(const string16& name); 84 virtual bool DeleteDatabase(const string16& name);
89 85
90 bool GetObjectStores(int64 database_id, 86 bool GetObjectStores(int64 database_id,
91 IndexedDBDatabaseMetadata::ObjectStoreMap* map) 87 IndexedDBDatabaseMetadata::ObjectStoreMap* map)
92 WARN_UNUSED_RESULT; 88 WARN_UNUSED_RESULT;
93 virtual bool CreateObjectStore( 89 virtual bool CreateObjectStore(
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 const std::string origin_identifier_; 324 const std::string origin_identifier_;
329 325
330 scoped_ptr<LevelDBDatabase> db_; 326 scoped_ptr<LevelDBDatabase> db_;
331 scoped_ptr<LevelDBComparator> comparator_; 327 scoped_ptr<LevelDBComparator> comparator_;
332 base::OneShotTimer<IndexedDBBackingStore> close_timer_; 328 base::OneShotTimer<IndexedDBBackingStore> close_timer_;
333 }; 329 };
334 330
335 } // namespace content 331 } // namespace content
336 332
337 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 333 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698