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

Side by Side Diff: chromeos/login/auth/online_attempt.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/mock_url_fetchers.cc ('k') | chromeos/login/auth/online_attempt_host.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.h" 5 #include "chromeos/login/auth/online_attempt.h"
6 6
7 #include <string>
8 7
9 #include "base/bind.h" 8 #include "base/bind.h"
10 #include "base/location.h" 9 #include "base/location.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
15 #include "chromeos/login/auth/auth_attempt_state.h" 12 #include "chromeos/login/auth/auth_attempt_state.h"
16 #include "chromeos/login/auth/auth_attempt_state_resolver.h" 13 #include "chromeos/login/auth/auth_attempt_state_resolver.h"
17 #include "chromeos/login/auth/key.h" 14 #include "chromeos/login/auth/key.h"
18 #include "chromeos/login/auth/user_context.h" 15 #include "chromeos/login/auth/user_context.h"
19 #include "components/user_manager/user_type.h" 16 #include "components/user_manager/user_type.h"
20 #include "google_apis/gaia/gaia_auth_consumer.h"
21 #include "google_apis/gaia/gaia_auth_fetcher.h" 17 #include "google_apis/gaia/gaia_auth_fetcher.h"
22 #include "google_apis/gaia/gaia_constants.h" 18 #include "google_apis/gaia/gaia_constants.h"
23 #include "net/base/load_flags.h" 19 #include "net/base/load_flags.h"
24 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
25 #include "net/url_request/url_request_status.h" 21 #include "net/url_request/url_request_status.h"
26 22
27 namespace chromeos { 23 namespace chromeos {
28 24
29 // static 25 // static
30 const int OnlineAttempt::kClientLoginTimeoutMs = 10000; 26 const int OnlineAttempt::kClientLoginTimeoutMs = 10000;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 } 139 }
144 } 140 }
145 141
146 void OnlineAttempt::TriggerResolve(const AuthFailure& outcome) { 142 void OnlineAttempt::TriggerResolve(const AuthFailure& outcome) {
147 attempt_->RecordOnlineLoginStatus(outcome); 143 attempt_->RecordOnlineLoginStatus(outcome);
148 client_fetcher_.reset(NULL); 144 client_fetcher_.reset(NULL);
149 resolver_->Resolve(); 145 resolver_->Resolve();
150 } 146 }
151 147
152 } // namespace chromeos 148 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/login/auth/mock_url_fetchers.cc ('k') | chromeos/login/auth/online_attempt_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698