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

Side by Side Diff: chrome/browser/chromeos/login/default_pinned_apps_field_trial.h

Issue 944433002: Revamp the MigrateBrowserPrefs and MigrateUserPrefs code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: readd kbrowserwindowplacement to ui_prefs.cc Created 5 years, 10 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
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698