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

Side by Side Diff: components/invalidation/impl/gcm_invalidation_bridge.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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "components/gcm_driver/gcm_driver.h" 11 #include "components/gcm_driver/gcm_driver.h"
12 #include "components/invalidation/impl/gcm_invalidation_bridge.h" 12 #include "components/invalidation/impl/gcm_invalidation_bridge.h"
13 #include "components/signin/core/browser/profile_oauth2_token_service.h" 13 #include "components/signin/core/browser/profile_oauth2_token_service.h"
14 #include "components/signin/core/browser/signin_manager.h" 14 #include "components/signin/core/browser/signin_manager.h"
15 #include "google_apis/gaia/gaia_constants.h" 15 #include "google_apis/gaia/gaia_constants.h"
16 #include "google_apis/gaia/identity_provider.h" 16 #include "google_apis/gaia/identity_provider.h"
17 17
18 namespace invalidation { 18 namespace invalidation {
19 namespace { 19 namespace {
20 // For 3rd party developers SenderId should come from application dashboard when 20 // For 3rd party developers SenderId should come from application dashboard when
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 void GCMInvalidationBridge::OnDisconnected() { 369 void GCMInvalidationBridge::OnDisconnected() {
370 core_thread_task_runner_->PostTask( 370 core_thread_task_runner_->PostTask(
371 FROM_HERE, 371 FROM_HERE,
372 base::Bind(&GCMInvalidationBridge::Core::OnConnectionStateChanged, 372 base::Bind(&GCMInvalidationBridge::Core::OnConnectionStateChanged,
373 core_, 373 core_,
374 false)); 374 false));
375 } 375 }
376 376
377 } // namespace invalidation 377 } // namespace invalidation
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698