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

Side by Side Diff: chrome/browser/services/gcm/fake_gcm_profile_service.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/services/gcm/fake_gcm_profile_service.h" 5 #include "chrome/browser/services/gcm/fake_gcm_profile_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "components/gcm_driver/fake_gcm_client_factory.h" 18 #include "components/gcm_driver/fake_gcm_client_factory.h"
19 #include "components/gcm_driver/fake_gcm_driver.h" 19 #include "components/gcm_driver/fake_gcm_driver.h"
20 #include "components/gcm_driver/gcm_driver.h" 20 #include "components/gcm_driver/gcm_driver.h"
21 #include "content/public/browser/browser_context.h" 21 #include "content/public/browser/browser_context.h"
22 22
23 namespace gcm { 23 namespace gcm {
24 24
25 namespace { 25 namespace {
26 26
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 196 }
197 197
198 void FakeGCMProfileService::DispatchMessage(const std::string& app_id, 198 void FakeGCMProfileService::DispatchMessage(const std::string& app_id,
199 const IncomingMessage& message) { 199 const IncomingMessage& message) {
200 CustomFakeGCMDriver* custom_driver = 200 CustomFakeGCMDriver* custom_driver =
201 static_cast<CustomFakeGCMDriver*>(driver()); 201 static_cast<CustomFakeGCMDriver*>(driver());
202 custom_driver->OnDispatchMessage(app_id, message); 202 custom_driver->OnDispatchMessage(app_id, message);
203 } 203 }
204 204
205 } // namespace gcm 205 } // namespace gcm
OLDNEW
« no previous file with comments | « chrome/browser/service_process/service_process_control_browsertest.cc ('k') | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698