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

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

Issue 2140193002: IndexedDB: Saving data loss status in IndexedDBPendingConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@idb-data-loss
Patch Set: Deleted commented out code. Created 4 years, 5 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_FACTORY_IMPL_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 18 matching lines...) Expand all
29 29
30 // content::IndexedDBFactory overrides: 30 // content::IndexedDBFactory overrides:
31 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier, 31 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier,
32 bool forced_close) override; 32 bool forced_close) override;
33 33
34 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks, 34 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks,
35 const url::Origin& origin, 35 const url::Origin& origin,
36 const base::FilePath& data_directory, 36 const base::FilePath& data_directory,
37 net::URLRequestContext* request_context) override; 37 net::URLRequestContext* request_context) override;
38 void Open(const base::string16& name, 38 void Open(const base::string16& name,
39 const IndexedDBPendingConnection& connection, 39 std::unique_ptr<IndexedDBPendingConnection> connection,
40 net::URLRequestContext* request_context, 40 net::URLRequestContext* request_context,
41 const url::Origin& origin, 41 const url::Origin& origin,
42 const base::FilePath& data_directory) override; 42 const base::FilePath& data_directory) override;
43 43
44 void DeleteDatabase(const base::string16& name, 44 void DeleteDatabase(const base::string16& name,
45 net::URLRequestContext* request_context, 45 net::URLRequestContext* request_context,
46 scoped_refptr<IndexedDBCallbacks> callbacks, 46 scoped_refptr<IndexedDBCallbacks> callbacks,
47 const url::Origin& origin, 47 const url::Origin& origin,
48 const base::FilePath& data_directory) override; 48 const base::FilePath& data_directory) override;
49 49
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>> 131 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>>
132 backing_stores_with_active_blobs_; 132 backing_stores_with_active_blobs_;
133 std::set<url::Origin> backends_opened_since_boot_; 133 std::set<url::Origin> backends_opened_since_boot_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); 135 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl);
136 }; 136 };
137 137
138 } // namespace content 138 } // namespace content
139 139
140 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ 140 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory.h ('k') | content/browser/indexed_db/indexed_db_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698