OLD | NEW |
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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/json/json_file_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 pref_filter.Pass()); | 301 pref_filter.Pass()); |
302 } | 302 } |
303 | 303 |
304 scoped_ptr<PrefHashStoreImpl> ProfilePrefStoreManager::GetPrefHashStoreImpl() { | 304 scoped_ptr<PrefHashStoreImpl> ProfilePrefStoreManager::GetPrefHashStoreImpl() { |
305 DCHECK(kPlatformSupportsPreferenceTracking); | 305 DCHECK(kPlatformSupportsPreferenceTracking); |
306 | 306 |
307 return make_scoped_ptr(new PrefHashStoreImpl( | 307 return make_scoped_ptr(new PrefHashStoreImpl( |
308 seed_, | 308 seed_, |
309 device_id_, | 309 device_id_, |
310 scoped_ptr<HashStoreContents>(new PrefServiceHashStoreContents( | 310 scoped_ptr<HashStoreContents>(new PrefServiceHashStoreContents( |
311 profile_path_.AsUTF8Unsafe(), local_state_)))); | 311 profile_path_.AsUTF8Unsafe(), local_state_)), |
| 312 true)); |
312 } | 313 } |
OLD | NEW |