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