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

Side by Side Diff: chrome/browser/prefs/leveldb_pref_store.h

Issue 1143343005: chrome/browser: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_
6 #define CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_ 6 #define CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/containers/hash_tables.h" 13 #include "base/containers/hash_tables.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop/message_loop_proxy.h"
17 #include "base/observer_list.h" 16 #include "base/observer_list.h"
18 #include "base/prefs/persistent_pref_store.h" 17 #include "base/prefs/persistent_pref_store.h"
19 #include "base/prefs/pref_value_map.h" 18 #include "base/prefs/pref_value_map.h"
19 #include "base/thread_task_runner_handle.h"
20 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
21 21
22 namespace base { 22 namespace base {
23 class DictionaryValue; 23 class DictionaryValue;
24 class SequencedTaskRunner; 24 class SequencedTaskRunner;
25 class Value; 25 class Value;
26 } 26 }
27 27
28 namespace leveldb { 28 namespace leveldb {
29 class DB; 29 class DB;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 base::hash_set<std::string> keys_to_delete_; 111 base::hash_set<std::string> keys_to_delete_;
112 base::hash_map<std::string, std::string> keys_to_set_; 112 base::hash_map<std::string, std::string> keys_to_set_;
113 base::OneShotTimer<LevelDBPrefStore> timer_; 113 base::OneShotTimer<LevelDBPrefStore> timer_;
114 114
115 base::WeakPtrFactory<LevelDBPrefStore> weak_ptr_factory_; 115 base::WeakPtrFactory<LevelDBPrefStore> weak_ptr_factory_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(LevelDBPrefStore); 117 DISALLOW_COPY_AND_ASSIGN(LevelDBPrefStore);
118 }; 118 };
119 119
120 #endif // CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_ 120 #endif // CHROME_BROWSER_PREFS_LEVELDB_PREF_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/predictors/resource_prefetcher_unittest.cc ('k') | chrome/browser/prefs/leveldb_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698