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

Side by Side Diff: chrome/browser/prefs/profile_pref_store_manager.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 #include "chrome/browser/prefs/profile_pref_store_manager.h" 5 #include "chrome/browser/prefs/profile_pref_store_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/json/json_file_value_serializer.h" 12 #include "base/json/json_file_value_serializer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/sequenced_task_runner.h" 15 #include "base/sequenced_task_runner.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
18 #include "components/pref_registry/pref_registry_syncable.h" 18 #include "components/pref_registry/pref_registry_syncable.h"
19 #include "components/prefs/json_pref_store.h" 19 #include "components/prefs/json_pref_store.h"
20 #include "components/prefs/persistent_pref_store.h" 20 #include "components/prefs/persistent_pref_store.h"
21 #include "components/prefs/pref_registry_simple.h" 21 #include "components/prefs/pref_registry_simple.h"
22 #include "components/user_prefs/tracked/pref_hash_store_impl.h" 22 #include "components/user_prefs/tracked/pref_hash_store_impl.h"
23 #include "components/user_prefs/tracked/segregated_pref_store.h" 23 #include "components/user_prefs/tracked/segregated_pref_store.h"
24 #include "components/user_prefs/tracked/tracked_preferences_migration.h" 24 #include "components/user_prefs/tracked/tracked_preferences_migration.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 return success; 182 return success;
183 } 183 }
184 184
185 std::unique_ptr<PrefHashStore> ProfilePrefStoreManager::GetPrefHashStore( 185 std::unique_ptr<PrefHashStore> ProfilePrefStoreManager::GetPrefHashStore(
186 bool use_super_mac) { 186 bool use_super_mac) {
187 DCHECK(kPlatformSupportsPreferenceTracking); 187 DCHECK(kPlatformSupportsPreferenceTracking);
188 188
189 return std::unique_ptr<PrefHashStore>( 189 return std::unique_ptr<PrefHashStore>(
190 new PrefHashStoreImpl(seed_, device_id_, use_super_mac)); 190 new PrefHashStoreImpl(seed_, device_id_, use_super_mac));
191 } 191 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_metrics_service.cc ('k') | chrome/browser/prerender/prerender_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698