OLD | NEW |
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 Loading... |
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 |
OLD | NEW |