Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "chromeos/dbus/power_manager_client.h" 54 #include "chromeos/dbus/power_manager_client.h"
55 #include "chromeos/dbus/session_manager_client.h" 55 #include "chromeos/dbus/session_manager_client.h"
56 #include "chromeos/login/user_names.h" 56 #include "chromeos/login/user_names.h"
57 #include "chromeos/settings/cros_settings_names.h" 57 #include "chromeos/settings/cros_settings_names.h"
58 #include "components/google/core/browser/google_util.h" 58 #include "components/google/core/browser/google_util.h"
59 #include "components/policy/core/common/cloud/cloud_policy_core.h" 59 #include "components/policy/core/common/cloud/cloud_policy_core.h"
60 #include "components/policy/core/common/cloud/cloud_policy_store.h" 60 #include "components/policy/core/common/cloud/cloud_policy_store.h"
61 #include "components/policy/core/common/policy_map.h" 61 #include "components/policy/core/common/policy_map.h"
62 #include "components/policy/core/common/policy_service.h" 62 #include "components/policy/core/common/policy_service.h"
63 #include "components/policy/core/common/policy_types.h" 63 #include "components/policy/core/common/policy_types.h"
64 #include "components/policy/policy_constants.h"
64 #include "components/prefs/pref_service.h" 65 #include "components/prefs/pref_service.h"
65 #include "components/signin/core/account_id/account_id.h" 66 #include "components/signin/core/account_id/account_id.h"
66 #include "components/signin/core/browser/signin_client.h" 67 #include "components/signin/core/browser/signin_client.h"
67 #include "components/user_manager/known_user.h" 68 #include "components/user_manager/known_user.h"
68 #include "components/user_manager/user_manager.h" 69 #include "components/user_manager/user_manager.h"
69 #include "components/user_manager/user_type.h" 70 #include "components/user_manager/user_type.h"
70 #include "components/version_info/version_info.h" 71 #include "components/version_info/version_info.h"
71 #include "content/public/browser/browser_thread.h" 72 #include "content/public/browser/browser_thread.h"
72 #include "content/public/browser/notification_service.h" 73 #include "content/public/browser/notification_service.h"
73 #include "content/public/browser/notification_types.h" 74 #include "content/public/browser/notification_types.h"
74 #include "content/public/browser/user_metrics.h" 75 #include "content/public/browser/user_metrics.h"
75 #include "google_apis/gaia/gaia_auth_util.h" 76 #include "google_apis/gaia/gaia_auth_util.h"
76 #include "google_apis/gaia/google_service_auth_error.h" 77 #include "google_apis/gaia/google_service_auth_error.h"
77 #include "net/http/http_auth_cache.h" 78 #include "net/http/http_auth_cache.h"
78 #include "net/http/http_network_session.h" 79 #include "net/http/http_network_session.h"
79 #include "net/http/http_transaction_factory.h" 80 #include "net/http/http_transaction_factory.h"
80 #include "net/url_request/url_request_context.h" 81 #include "net/url_request/url_request_context.h"
81 #include "net/url_request/url_request_context_getter.h" 82 #include "net/url_request/url_request_context_getter.h"
82 #include "policy/policy_constants.h"
83 #include "ui/accessibility/ax_enums.h" 83 #include "ui/accessibility/ax_enums.h"
84 #include "ui/base/l10n/l10n_util.h" 84 #include "ui/base/l10n/l10n_util.h"
85 #include "ui/views/widget/widget.h" 85 #include "ui/views/widget/widget.h"
86 86
87 namespace chromeos { 87 namespace chromeos {
88 88
89 namespace { 89 namespace {
90 90
91 // Enum types for Login.PasswordChangeFlow. 91 // Enum types for Login.PasswordChangeFlow.
92 // Don't change the existing values and update LoginPasswordChangeFlow in 92 // Don't change the existing values and update LoginPasswordChangeFlow in
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 } 1271 }
1272 1272
1273 // Otherwise, show the unrecoverable cryptohome error UI and ask user's 1273 // Otherwise, show the unrecoverable cryptohome error UI and ask user's
1274 // permission to collect a feedback. 1274 // permission to collect a feedback.
1275 RecordPasswordChangeFlow(LOGIN_PASSWORD_CHANGE_FLOW_CRYPTOHOME_FAILURE); 1275 RecordPasswordChangeFlow(LOGIN_PASSWORD_CHANGE_FLOW_CRYPTOHOME_FAILURE);
1276 VLOG(1) << "Show unrecoverable cryptohome error dialog."; 1276 VLOG(1) << "Show unrecoverable cryptohome error dialog.";
1277 login_display_->ShowUnrecoverableCrypthomeErrorDialog(); 1277 login_display_->ShowUnrecoverableCrypthomeErrorDialog();
1278 } 1278 }
1279 1279
1280 } // namespace chromeos 1280 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698