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

Side by Side Diff: components/gcm_driver/gcm_account_tracker.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 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 "components/gcm_driver/gcm_account_tracker.h" 5 #include "components/gcm_driver/gcm_account_tracker.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "components/gcm_driver/gcm_driver.h" 17 #include "components/gcm_driver/gcm_driver.h"
18 #include "google_apis/gaia/google_service_auth_error.h" 18 #include "google_apis/gaia/google_service_auth_error.h"
19 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
20 20
21 namespace gcm { 21 namespace gcm {
22 22
23 namespace { 23 namespace {
24 24
25 // Scopes needed by the OAuth2 access tokens. 25 // Scopes needed by the OAuth2 access tokens.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 iter->second.state = ACCOUNT_REMOVED; 369 iter->second.state = ACCOUNT_REMOVED;
370 ReportTokens(); 370 ReportTokens();
371 } 371 }
372 372
373 OAuth2TokenService* GCMAccountTracker::GetTokenService() { 373 OAuth2TokenService* GCMAccountTracker::GetTokenService() {
374 DCHECK(account_tracker_->identity_provider()); 374 DCHECK(account_tracker_->identity_provider());
375 return account_tracker_->identity_provider()->GetTokenService(); 375 return account_tracker_->identity_provider()->GetTokenService();
376 } 376 }
377 377
378 } // namespace gcm 378 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/fake_gcm_client.cc ('k') | components/gcm_driver/gcm_channel_status_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698