OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/user.h" | 5 #include "chrome/browser/chromeos/login/users/user.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/threading/thread_restrictions.h" | 10 #include "base/threading/thread_restrictions.h" |
11 #include "chrome/browser/chromeos/login/default_user_images.h" | 11 #include "chrome/browser/chromeos/login/users/avatar/default_user_images.h" |
12 #include "chrome/browser/chromeos/login/user_manager.h" | 12 #include "chrome/browser/chromeos/login/users/user_manager.h" |
13 #include "google_apis/gaia/gaia_auth_util.h" | 13 #include "google_apis/gaia/gaia_auth_util.h" |
14 #include "grit/theme_resources.h" | 14 #include "grit/theme_resources.h" |
15 #include "ui/base/resource/resource_bundle.h" | 15 #include "ui/base/resource/resource_bundle.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Returns account name portion of an email. | 21 // Returns account name portion of an email. |
22 std::string GetUserName(const std::string& email) { | 22 std::string GetUserName(const std::string& email) { |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 case USER_TYPE_LOCALLY_MANAGED: | 442 case USER_TYPE_LOCALLY_MANAGED: |
443 case USER_TYPE_KIOSK_APP: | 443 case USER_TYPE_KIOSK_APP: |
444 return false; | 444 return false; |
445 default: | 445 default: |
446 NOTREACHED(); | 446 NOTREACHED(); |
447 } | 447 } |
448 return false; | 448 return false; |
449 } | 449 } |
450 | 450 |
451 } // namespace chromeos | 451 } // namespace chromeos |
OLD | NEW |