| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "chrome/common/chrome_switches.h" | 56 #include "chrome/common/chrome_switches.h" |
| 57 #include "chrome/common/crash_keys.h" | 57 #include "chrome/common/crash_keys.h" |
| 58 #include "chrome/common/pref_names.h" | 58 #include "chrome/common/pref_names.h" |
| 59 #include "chrome/grit/theme_resources.h" | 59 #include "chrome/grit/theme_resources.h" |
| 60 #include "chromeos/chromeos_switches.h" | 60 #include "chromeos/chromeos_switches.h" |
| 61 #include "chromeos/cryptohome/async_method_caller.h" | 61 #include "chromeos/cryptohome/async_method_caller.h" |
| 62 #include "chromeos/login/login_state.h" | 62 #include "chromeos/login/login_state.h" |
| 63 #include "chromeos/login/user_names.h" | 63 #include "chromeos/login/user_names.h" |
| 64 #include "chromeos/settings/cros_settings_names.h" | 64 #include "chromeos/settings/cros_settings_names.h" |
| 65 #include "chromeos/timezone/timezone_resolver.h" | 65 #include "chromeos/timezone/timezone_resolver.h" |
| 66 #include "components/policy/policy_constants.h" |
| 66 #include "components/prefs/pref_registry_simple.h" | 67 #include "components/prefs/pref_registry_simple.h" |
| 67 #include "components/prefs/pref_service.h" | 68 #include "components/prefs/pref_service.h" |
| 68 #include "components/prefs/scoped_user_pref_update.h" | 69 #include "components/prefs/scoped_user_pref_update.h" |
| 69 #include "components/session_manager/core/session_manager.h" | 70 #include "components/session_manager/core/session_manager.h" |
| 70 #include "components/signin/core/account_id/account_id.h" | 71 #include "components/signin/core/account_id/account_id.h" |
| 71 #include "components/user_manager/known_user.h" | 72 #include "components/user_manager/known_user.h" |
| 72 #include "components/user_manager/remove_user_delegate.h" | 73 #include "components/user_manager/remove_user_delegate.h" |
| 73 #include "components/user_manager/user_image/user_image.h" | 74 #include "components/user_manager/user_image/user_image.h" |
| 74 #include "components/user_manager/user_type.h" | 75 #include "components/user_manager/user_type.h" |
| 75 #include "content/public/browser/browser_thread.h" | 76 #include "content/public/browser/browser_thread.h" |
| 76 #include "content/public/browser/notification_service.h" | 77 #include "content/public/browser/notification_service.h" |
| 77 #include "policy/policy_constants.h" | |
| 78 #include "ui/base/l10n/l10n_util.h" | 78 #include "ui/base/l10n/l10n_util.h" |
| 79 #include "ui/base/resource/resource_bundle.h" | 79 #include "ui/base/resource/resource_bundle.h" |
| 80 #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" | 80 #include "ui/chromeos/resources/grit/ui_chromeos_resources.h" |
| 81 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" | 81 #include "ui/chromeos/strings/grit/ui_chromeos_strings.h" |
| 82 #include "ui/gfx/image/image_skia.h" | 82 #include "ui/gfx/image/image_skia.h" |
| 83 #include "ui/wm/core/wm_core_switches.h" | 83 #include "ui/wm/core/wm_core_switches.h" |
| 84 | 84 |
| 85 using content::BrowserThread; | 85 using content::BrowserThread; |
| 86 | 86 |
| 87 namespace chromeos { | 87 namespace chromeos { |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1323 break; | 1323 break; |
| 1324 default: | 1324 default: |
| 1325 NOTREACHED(); | 1325 NOTREACHED(); |
| 1326 break; | 1326 break; |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 return user; | 1329 return user; |
| 1330 } | 1330 } |
| 1331 | 1331 |
| 1332 } // namespace chromeos | 1332 } // namespace chromeos |
| OLD | NEW |