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

Side by Side Diff: chromeos/login/auth/online_attempt_host.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « chromeos/login/auth/online_attempt.cc ('k') | chromeos/login/auth/test_attempt_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chromeos/login/auth/online_attempt_host.h" 5 #include "chromeos/login/auth/online_attempt_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "chromeos/login/auth/auth_attempt_state.h" 10 #include "chromeos/login/auth/auth_attempt_state.h"
11 #include "chromeos/login/auth/online_attempt.h" 11 #include "chromeos/login/auth/online_attempt.h"
12 #include "chromeos/login/auth/user_context.h"
13 #include "components/user_manager/user_type.h" 12 #include "components/user_manager/user_type.h"
14 13
15 namespace chromeos { 14 namespace chromeos {
16 15
17 OnlineAttemptHost::OnlineAttemptHost(Delegate* delegate) 16 OnlineAttemptHost::OnlineAttemptHost(Delegate* delegate)
18 : message_loop_(base::MessageLoopProxy::current()), 17 : message_loop_(base::MessageLoopProxy::current()),
19 delegate_(delegate), 18 delegate_(delegate),
20 weak_ptr_factory_(this) { 19 weak_ptr_factory_(this) {
21 } 20 }
22 21
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 success)); 53 success));
55 } 54 }
56 } 55 }
57 56
58 void OnlineAttemptHost::ResolveOnUIThread(bool success) { 57 void OnlineAttemptHost::ResolveOnUIThread(bool success) {
59 delegate_->OnChecked(current_attempt_user_context_.GetUserID(), success); 58 delegate_->OnChecked(current_attempt_user_context_.GetUserID(), success);
60 Reset(); 59 Reset();
61 } 60 }
62 61
63 } // namespace chromeos 62 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/login/auth/online_attempt.cc ('k') | chromeos/login/auth/test_attempt_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698