OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |