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

Side by Side Diff: ios/chrome/browser/first_run/first_run.mm

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 7 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 | « extensions/browser/extension_prefs.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "ios/chrome/browser/first_run/first_run.h" 5 #include "ios/chrome/browser/first_run/first_run.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 // static 68 // static
69 const char* FirstRun::GetPingDelayPrefName() { 69 const char* FirstRun::GetPingDelayPrefName() {
70 return kPingDelayPrefName; 70 return kPingDelayPrefName;
71 } 71 }
72 72
73 // static 73 // static
74 void FirstRun::RegisterProfilePrefs( 74 void FirstRun::RegisterProfilePrefs(
75 user_prefs::PrefRegistrySyncable* registry) { 75 user_prefs::PrefRegistrySyncable* registry) {
76 registry->RegisterIntegerPref( 76 registry->RegisterIntegerPref(GetPingDelayPrefName(), 0);
77 GetPingDelayPrefName(), 0,
78 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
79 } 77 }
OLDNEW
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698