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

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

Issue 134693005: Revert of IndexedDBFactory now ForceCloses databases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_context_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 scoped_refptr<IndexedDBFactory> factory_; 130 scoped_refptr<IndexedDBFactory> factory_;
131 base::FilePath data_path_; 131 base::FilePath data_path_;
132 // If true, nothing (not even session-only data) should be deleted on exit. 132 // If true, nothing (not even session-only data) should be deleted on exit.
133 bool force_keep_session_state_; 133 bool force_keep_session_state_;
134 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; 134 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
135 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; 135 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_;
136 base::SequencedTaskRunner* task_runner_; 136 base::SequencedTaskRunner* task_runner_;
137 scoped_ptr<std::set<GURL> > origin_set_; 137 scoped_ptr<std::set<GURL> > origin_set_;
138 OriginToSizeMap origin_size_map_; 138 OriginToSizeMap origin_size_map_;
139 OriginToSizeMap space_available_map_; 139 OriginToSizeMap space_available_map_;
140 typedef std::set<IndexedDBConnection*> ConnectionSet;
141 std::map<GURL, ConnectionSet> connections_;
140 142
141 DISALLOW_COPY_AND_ASSIGN(IndexedDBContextImpl); 143 DISALLOW_COPY_AND_ASSIGN(IndexedDBContextImpl);
142 }; 144 };
143 145
144 } // namespace content 146 } // namespace content
145 147
146 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ 148 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698