OLD | NEW |
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 "google_apis/gaia/account_tracker.h" | 5 #include "google_apis/gaia/account_tracker.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
9 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 9 #include "base/trace_event/trace_event.h" |
10 #include "net/url_request/url_request_context_getter.h" | 10 #include "net/url_request/url_request_context_getter.h" |
11 | 11 |
12 namespace gaia { | 12 namespace gaia { |
13 | 13 |
14 AccountTracker::AccountTracker( | 14 AccountTracker::AccountTracker( |
15 IdentityProvider* identity_provider, | 15 IdentityProvider* identity_provider, |
16 net::URLRequestContextGetter* request_context_getter) | 16 net::URLRequestContextGetter* request_context_getter) |
17 : identity_provider_(identity_provider), | 17 : identity_provider_(identity_provider), |
18 request_context_getter_(request_context_getter), | 18 request_context_getter_(request_context_getter), |
19 shutdown_called_(false) { | 19 shutdown_called_(false) { |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 "AccountIdFetcher", | 330 "AccountIdFetcher", |
331 this, | 331 this, |
332 "OnNetworkError", | 332 "OnNetworkError", |
333 "response_code", | 333 "response_code", |
334 response_code); | 334 response_code); |
335 LOG(ERROR) << "OnNetworkError " << response_code; | 335 LOG(ERROR) << "OnNetworkError " << response_code; |
336 tracker_->OnUserInfoFetchFailure(this); | 336 tracker_->OnUserInfoFetchFailure(this); |
337 } | 337 } |
338 | 338 |
339 } // namespace gaia | 339 } // namespace gaia |
OLD | NEW |