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

Side by Side Diff: storage/browser/database/database_tracker.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 | « remoting/test/test_chromoting_client.h ('k') | storage/browser/quota/special_storage_policy.h » ('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 STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_ 5 #ifndef STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_
6 #define STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_ 6 #define STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 bool is_initialized_; 275 bool is_initialized_;
276 const bool is_incognito_; 276 const bool is_incognito_;
277 bool force_keep_session_state_; 277 bool force_keep_session_state_;
278 bool shutting_down_; 278 bool shutting_down_;
279 const base::FilePath profile_path_; 279 const base::FilePath profile_path_;
280 const base::FilePath db_dir_; 280 const base::FilePath db_dir_;
281 scoped_ptr<sql::Connection> db_; 281 scoped_ptr<sql::Connection> db_;
282 scoped_ptr<DatabasesTable> databases_table_; 282 scoped_ptr<DatabasesTable> databases_table_;
283 scoped_ptr<sql::MetaTable> meta_table_; 283 scoped_ptr<sql::MetaTable> meta_table_;
284 ObserverList<Observer, true> observers_; 284 base::ObserverList<Observer, true> observers_;
285 std::map<std::string, CachedOriginInfo> origins_info_map_; 285 std::map<std::string, CachedOriginInfo> origins_info_map_;
286 DatabaseConnections database_connections_; 286 DatabaseConnections database_connections_;
287 287
288 // The set of databases that should be deleted but are still opened 288 // The set of databases that should be deleted but are still opened
289 DatabaseSet dbs_to_be_deleted_; 289 DatabaseSet dbs_to_be_deleted_;
290 PendingDeletionCallbacks deletion_callbacks_; 290 PendingDeletionCallbacks deletion_callbacks_;
291 291
292 // Apps and Extensions can have special rights. 292 // Apps and Extensions can have special rights.
293 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; 293 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_;
294 294
(...skipping 15 matching lines...) Expand all
310 // this map to assign directory names that do not reveal this information. 310 // this map to assign directory names that do not reveal this information.
311 OriginDirectoriesMap incognito_origin_directories_; 311 OriginDirectoriesMap incognito_origin_directories_;
312 int incognito_origin_directories_generator_; 312 int incognito_origin_directories_generator_;
313 313
314 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper); 314 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper);
315 }; 315 };
316 316
317 } // namespace storage 317 } // namespace storage
318 318
319 #endif // STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_ 319 #endif // STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_
OLDNEW
« no previous file with comments | « remoting/test/test_chromoting_client.h ('k') | storage/browser/quota/special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698