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

Side by Side Diff: components/sync_driver/sync_stopped_reporter.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/sync_driver/sync_stopped_reporter.h" 5 #include "components/sync_driver/sync_stopped_reporter.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
14 #include "net/http/http_status_code.h" 14 #include "net/http/http_status_code.h"
15 #include "net/url_request/url_fetcher.h" 15 #include "net/url_request/url_fetcher.h"
16 #include "net/url_request/url_request_context_getter.h" 16 #include "net/url_request/url_request_context_getter.h"
17 #include "sync/protocol/sync.pb.h" 17 #include "sync/protocol/sync.pb.h"
18 18
19 namespace { 19 namespace {
20 20
21 const char kEventEndpoint[] = "event"; 21 const char kEventEndpoint[] = "event";
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 replacements.SetPathStr(path); 111 replacements.SetPathStr(path);
112 return sync_service_url.ReplaceComponents(replacements); 112 return sync_service_url.ReplaceComponents(replacements);
113 } 113 }
114 114
115 void SyncStoppedReporter::SetTimerTaskRunnerForTest( 115 void SyncStoppedReporter::SetTimerTaskRunnerForTest(
116 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { 116 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) {
117 timer_.SetTaskRunner(task_runner); 117 timer_.SetTaskRunner(task_runner);
118 } 118 }
119 119
120 } // namespace browser_sync 120 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync_driver/startup_controller.cc ('k') | components/sync_driver/ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698