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

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

Issue 332473002: Make super MAC optional. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 "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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698