OLD | NEW |
| (Empty) |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/chromeos/login/default_pinned_apps_field_trial.h" | |
6 | |
7 #include "base/basictypes.h" | |
8 #include "base/prefs/pref_registry_simple.h" | |
9 #include "base/prefs/pref_service.h" | |
10 | |
11 namespace chromeos { | |
12 namespace default_pinned_apps_field_trial { | |
13 | |
14 namespace { | |
15 | |
16 // Name of a local state pref to store the list of users that participate | |
17 // the experiment. | |
18 const char kExperimentUsers[] = "DefaultPinnedAppsExperimentUsers"; | |
19 | |
20 } // namespace | |
21 | |
22 void RegisterPrefs(PrefRegistrySimple* registry) { | |
23 registry->RegisterListPref(kExperimentUsers); | |
24 } | |
25 | |
26 void MigratePrefs(PrefService* local_state) { | |
27 // TODO(xiyuan): Remove everything in M34. | |
28 local_state->ClearPref(kExperimentUsers); | |
29 } | |
30 | |
31 } // namespace default_pinned_apps_field_trial | |
32 } // namespace chromeos | |
OLD | NEW |