OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" | 5 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <cstddef> | 9 #include <cstddef> |
10 #include <set> | 10 #include <set> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #include "components/user_manager/known_user.h" | 80 #include "components/user_manager/known_user.h" |
81 #include "components/user_manager/remove_user_delegate.h" | 81 #include "components/user_manager/remove_user_delegate.h" |
82 #include "components/user_manager/user.h" | 82 #include "components/user_manager/user.h" |
83 #include "components/user_manager/user_image/user_image.h" | 83 #include "components/user_manager/user_image/user_image.h" |
84 #include "components/user_manager/user_names.h" | 84 #include "components/user_manager/user_names.h" |
85 #include "components/user_manager/user_type.h" | 85 #include "components/user_manager/user_type.h" |
86 #include "content/public/browser/browser_thread.h" | 86 #include "content/public/browser/browser_thread.h" |
87 #include "content/public/browser/notification_service.h" | 87 #include "content/public/browser/notification_service.h" |
88 #include "ui/base/l10n/l10n_util.h" | 88 #include "ui/base/l10n/l10n_util.h" |
89 #include "ui/base/resource/resource_bundle.h" | 89 #include "ui/base/resource/resource_bundle.h" |
90 #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" | |
91 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | |
92 #include "ui/gfx/image/image_skia.h" | 90 #include "ui/gfx/image/image_skia.h" |
93 #include "ui/wm/core/wm_core_switches.h" | 91 #include "ui/wm/core/wm_core_switches.h" |
94 | 92 |
95 using content::BrowserThread; | 93 using content::BrowserThread; |
96 | 94 |
97 namespace chromeos { | 95 namespace chromeos { |
98 namespace { | 96 namespace { |
99 | 97 |
100 // A vector pref of the the regular users known on this device, arranged in LRU | 98 // A vector pref of the the regular users known on this device, arranged in LRU |
101 // order. | 99 // order. |
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 break; | 1382 break; |
1385 default: | 1383 default: |
1386 NOTREACHED(); | 1384 NOTREACHED(); |
1387 break; | 1385 break; |
1388 } | 1386 } |
1389 | 1387 |
1390 return user; | 1388 return user; |
1391 } | 1389 } |
1392 | 1390 |
1393 } // namespace chromeos | 1391 } // namespace chromeos |
OLD | NEW |