| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class ListValue; | 11 class ListValue; |
| 12 } | 12 } |
| 13 | 13 |
| 14 class PrefRegistrySimple; | 14 class PrefRegistrySimple; |
| 15 class PrefService; | 15 class PrefService; |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 namespace default_pinned_apps_field_trial { | 18 namespace default_pinned_apps_field_trial { |
| 19 | 19 |
| 20 // Registers a local state that keeps track of users in experiment. | 20 // Registers a local state that keeps track of users in experiment. |
| 21 void RegisterPrefs(PrefRegistrySimple* registry); | 21 void RegisterPrefs(PrefRegistrySimple* registry); |
| 22 | 22 |
| 23 // Migrate by removing the old local state. | |
| 24 void MigratePrefs(PrefService* local_state); | |
| 25 | 23 |
| 26 } // namespace default_pinned_apps_field_trial | 24 } // namespace default_pinned_apps_field_trial |
| 27 } // namespace chromeos | 25 } // namespace chromeos |
| 28 | 26 |
| 29 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ | 27 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DEFAULT_PINNED_APPS_FIELD_TRIAL_H_ |
| OLD | NEW |