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

Side by Side Diff: chrome/browser/chromeos/login/auth/login_performer.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
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/auth/login_performer.h" 5 #include "chrome/browser/chromeos/login/auth/login_performer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/common/pref_names.h" 27 #include "chrome/common/pref_names.h"
28 #include "chromeos/dbus/dbus_thread_manager.h" 28 #include "chromeos/dbus/dbus_thread_manager.h"
29 #include "chromeos/dbus/session_manager_client.h" 29 #include "chromeos/dbus/session_manager_client.h"
30 #include "chromeos/login/user_names.h" 30 #include "chromeos/login/user_names.h"
31 #include "chromeos/settings/cros_settings_names.h" 31 #include "chromeos/settings/cros_settings_names.h"
32 #include "content/public/browser/browser_thread.h" 32 #include "content/public/browser/browser_thread.h"
33 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
34 #include "content/public/browser/notification_types.h" 34 #include "content/public/browser/notification_types.h"
35 #include "content/public/browser/user_metrics.h" 35 #include "content/public/browser/user_metrics.h"
36 #include "google_apis/gaia/gaia_auth_util.h" 36 #include "google_apis/gaia/gaia_auth_util.h"
37 #include "grit/generated_resources.h"
38 #include "net/cookies/cookie_monster.h" 37 #include "net/cookies/cookie_monster.h"
39 #include "net/cookies/cookie_store.h" 38 #include "net/cookies/cookie_store.h"
40 #include "net/url_request/url_request_context.h" 39 #include "net/url_request/url_request_context.h"
41 #include "net/url_request/url_request_context_getter.h" 40 #include "net/url_request/url_request_context_getter.h"
42 #include "ui/base/l10n/l10n_util.h"
43 #include "ui/base/resource/resource_bundle.h"
44 41
45 using base::UserMetricsAction; 42 using base::UserMetricsAction;
46 using content::BrowserThread; 43 using content::BrowserThread;
47 44
48 namespace chromeos { 45 namespace chromeos {
49 46
50 LoginPerformer::LoginPerformer(Delegate* delegate) 47 LoginPerformer::LoginPerformer(Delegate* delegate)
51 : online_attempt_host_(this), 48 : online_attempt_host_(this),
52 last_login_failure_(AuthFailure::AuthFailureNone()), 49 last_login_failure_(AuthFailure::AuthFailureNone()),
53 delegate_(delegate), 50 delegate_(delegate),
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 policy::WildcardLoginChecker::Result result) { 362 policy::WildcardLoginChecker::Result result) {
366 if (result == policy::WildcardLoginChecker::RESULT_ALLOWED) { 363 if (result == policy::WildcardLoginChecker::RESULT_ALLOWED) {
367 StartLoginCompletion(); 364 StartLoginCompletion();
368 } else { 365 } else {
369 if (delegate_) 366 if (delegate_)
370 delegate_->WhiteListCheckFailed(user_context_.GetUserID()); 367 delegate_->WhiteListCheckFailed(user_context_.GetUserID());
371 } 368 }
372 } 369 }
373 370
374 } // namespace chromeos 371 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698