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/existing_user_controller.h" | 5 #include "chrome/browser/chromeos/login/existing_user_controller.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
17 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
18 #include "base/values.h" | 18 #include "base/values.h" |
19 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 20 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
21 #include "chrome/browser/chromeos/boot_times_loader.h" | 21 #include "chrome/browser/chromeos/boot_times_loader.h" |
22 #include "chrome/browser/chromeos/cros/cros_library.h" | 22 #include "chrome/browser/chromeos/cros/cros_library.h" |
23 #include "chrome/browser/chromeos/cros/network_library.h" | 23 #include "chrome/browser/chromeos/cros/network_library.h" |
24 #include "chrome/browser/chromeos/cros_settings.h" | 24 #include "chrome/browser/chromeos/cros_settings.h" |
25 #include "chrome/browser/chromeos/customization_document.h" | 25 #include "chrome/browser/chromeos/customization_document.h" |
26 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | |
27 #include "chrome/browser/chromeos/dbus/session_manager_client.h" | |
28 #include "chrome/browser/chromeos/login/helper.h" | 26 #include "chrome/browser/chromeos/login/helper.h" |
29 #include "chrome/browser/chromeos/login/login_display_host.h" | 27 #include "chrome/browser/chromeos/login/login_display_host.h" |
30 #include "chrome/browser/chromeos/login/login_utils.h" | 28 #include "chrome/browser/chromeos/login/login_utils.h" |
31 #include "chrome/browser/chromeos/login/user_manager.h" | 29 #include "chrome/browser/chromeos/login/user_manager.h" |
32 #include "chrome/browser/chromeos/login/wizard_controller.h" | 30 #include "chrome/browser/chromeos/login/wizard_controller.h" |
33 #include "chrome/browser/chromeos/system/statistics_provider.h" | 31 #include "chrome/browser/chromeos/system/statistics_provider.h" |
34 #include "chrome/browser/google/google_util.h" | 32 #include "chrome/browser/google/google_util.h" |
35 #include "chrome/browser/policy/browser_policy_connector.h" | 33 #include "chrome/browser/policy/browser_policy_connector.h" |
36 #include "chrome/browser/prefs/pref_service.h" | 34 #include "chrome/browser/prefs/pref_service.h" |
37 #include "chrome/browser/prefs/session_startup_pref.h" | 35 #include "chrome/browser/prefs/session_startup_pref.h" |
38 #include "chrome/browser/profiles/profile_manager.h" | 36 #include "chrome/browser/profiles/profile_manager.h" |
39 #include "chrome/browser/ui/dialog_style.h" | 37 #include "chrome/browser/ui/dialog_style.h" |
40 #include "chrome/browser/ui/views/window.h" | 38 #include "chrome/browser/ui/views/window.h" |
41 #include "chrome/common/chrome_notification_types.h" | 39 #include "chrome/common/chrome_notification_types.h" |
42 #include "chrome/common/chrome_switches.h" | 40 #include "chrome/common/chrome_switches.h" |
43 #include "chrome/common/net/gaia/google_service_auth_error.h" | 41 #include "chrome/common/net/gaia/google_service_auth_error.h" |
44 #include "chrome/common/pref_names.h" | 42 #include "chrome/common/pref_names.h" |
| 43 #include "chromeos/dbus/dbus_thread_manager.h" |
| 44 #include "chromeos/dbus/session_manager_client.h" |
45 #include "content/public/browser/browser_thread.h" | 45 #include "content/public/browser/browser_thread.h" |
46 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
47 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
48 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
49 #include "net/http/http_auth_cache.h" | 49 #include "net/http/http_auth_cache.h" |
50 #include "net/http/http_network_session.h" | 50 #include "net/http/http_network_session.h" |
51 #include "net/http/http_transaction_factory.h" | 51 #include "net/http/http_transaction_factory.h" |
52 #include "net/url_request/url_request_context.h" | 52 #include "net/url_request/url_request_context.h" |
53 #include "net/url_request/url_request_context_getter.h" | 53 #include "net/url_request/url_request_context_getter.h" |
54 #include "ui/base/l10n/l10n_util.h" | 54 #include "ui/base/l10n/l10n_util.h" |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 // changed. | 789 // changed. |
790 UserManager::Get()->SaveUserOAuthStatus(username, | 790 UserManager::Get()->SaveUserOAuthStatus(username, |
791 User::OAUTH_TOKEN_STATUS_INVALID); | 791 User::OAUTH_TOKEN_STATUS_INVALID); |
792 | 792 |
793 login_display_->SetUIEnabled(true); | 793 login_display_->SetUIEnabled(true); |
794 SetStatusAreaEnabled(true); | 794 SetStatusAreaEnabled(true); |
795 login_display_->ShowGaiaPasswordChanged(username); | 795 login_display_->ShowGaiaPasswordChanged(username); |
796 } | 796 } |
797 | 797 |
798 } // namespace chromeos | 798 } // namespace chromeos |
OLD | NEW |