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

Side by Side Diff: components/user_manager/known_user.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/user_manager/DEPS ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "components/user_manager/known_user.h" 5 #include "components/user_manager/known_user.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/prefs/pref_registry_simple.h"
12 #include "base/prefs/scoped_user_pref_update.h"
13 #include "base/values.h" 11 #include "base/values.h"
12 #include "components/prefs/pref_registry_simple.h"
13 #include "components/prefs/scoped_user_pref_update.h"
14 #include "components/user_manager/user_manager.h" 14 #include "components/user_manager/user_manager.h"
15 #include "google_apis/gaia/gaia_auth_util.h" 15 #include "google_apis/gaia/gaia_auth_util.h"
16 16
17 namespace user_manager { 17 namespace user_manager {
18 namespace known_user { 18 namespace known_user {
19 namespace { 19 namespace {
20 20
21 // A vector pref of preferences of known users. All new preferences should be 21 // A vector pref of preferences of known users. All new preferences should be
22 // placed in this list. 22 // placed in this list.
23 const char kKnownUsers[] = "KnownUsers"; 23 const char kKnownUsers[] = "KnownUsers";
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 } 349 }
350 } 350 }
351 } 351 }
352 352
353 void RegisterPrefs(PrefRegistrySimple* registry) { 353 void RegisterPrefs(PrefRegistrySimple* registry) {
354 registry->RegisterListPref(kKnownUsers); 354 registry->RegisterListPref(kKnownUsers);
355 } 355 }
356 356
357 } // namespace known_user 357 } // namespace known_user
358 } // namespace user_manager 358 } // namespace user_manager
OLDNEW
« no previous file with comments | « components/user_manager/DEPS ('k') | components/user_manager/user_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698