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 "components/user_manager/user.h" | 5 #include "components/user_manager/user.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
9 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
10 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
11 #include "chromeos/login/user_names.h" | 14 #include "chromeos/login/user_names.h" |
12 #include "components/signin/core/account_id/account_id.h" | 15 #include "components/signin/core/account_id/account_id.h" |
13 #include "components/user_manager/user_image/default_user_images.h" | 16 #include "components/user_manager/user_image/default_user_images.h" |
14 #include "google_apis/gaia/gaia_auth_util.h" | 17 #include "google_apis/gaia/gaia_auth_util.h" |
15 #include "ui/base/resource/resource_bundle.h" | 18 #include "ui/base/resource/resource_bundle.h" |
16 | 19 |
17 namespace user_manager { | 20 namespace user_manager { |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 case user_manager::USER_TYPE_SUPERVISED: | 315 case user_manager::USER_TYPE_SUPERVISED: |
313 case user_manager::USER_TYPE_KIOSK_APP: | 316 case user_manager::USER_TYPE_KIOSK_APP: |
314 return false; | 317 return false; |
315 default: | 318 default: |
316 NOTREACHED(); | 319 NOTREACHED(); |
317 } | 320 } |
318 return false; | 321 return false; |
319 } | 322 } |
320 | 323 |
321 } // namespace user_manager | 324 } // namespace user_manager |
OLD | NEW |