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

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: change asserts to expect in setupuserdatadirectory Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/default_pinned_apps_field_trial.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 #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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/default_pinned_apps_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698