Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / default_pinned_apps_field_trial.cc
blob4b21f533e68c94b85af0fb4848e98a3e707733bf
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.
5 #include "chrome/browser/chromeos/login/default_pinned_apps_field_trial.h"
7 #include "base/basictypes.h"
8 #include "base/prefs/pref_registry_simple.h"
9 #include "base/prefs/pref_service.h"
11 namespace chromeos {
12 namespace default_pinned_apps_field_trial {
14 namespace {
16 // Name of a local state pref to store the list of users that participate
17 // the experiment.
18 const char kExperimentUsers[] = "DefaultPinnedAppsExperimentUsers";
20 } // namespace
22 void RegisterPrefs(PrefRegistrySimple* registry) {
23 registry->RegisterListPref(kExperimentUsers);
26 void MigratePrefs(PrefService* local_state) {
27 // TODO(xiyuan): Remove everything in M34.
28 local_state->ClearPref(kExperimentUsers);
31 } // namespace default_pinned_apps_field_trial
32 } // namespace chromeos