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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/callback_helper.h

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 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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <type_traits> 9 #include <type_traits>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/sequenced_task_runner.h" 15 #include "base/sequenced_task_runner.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 17
18 // TODO(tzik): Merge this file to media/base/bind_to_current_loop.h. 18 // TODO(tzik): Merge this file to media/base/bind_to_current_loop.h.
19 19
20 namespace sync_file_system { 20 namespace sync_file_system {
21 namespace drive_backend { 21 namespace drive_backend {
22 22
23 namespace internal { 23 namespace internal {
24 24
25 template <typename T> 25 template <typename T>
26 base::internal::PassedWrapper<std::unique_ptr<T>> RebindForward( 26 base::internal::PassedWrapper<std::unique_ptr<T>> RebindForward(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const base::Callback<T>& callback) { 98 const base::Callback<T>& callback) {
99 return RelayCallbackToTaskRunner( 99 return RelayCallbackToTaskRunner(
100 base::ThreadTaskRunnerHandle::Get(), 100 base::ThreadTaskRunnerHandle::Get(),
101 from_here, callback); 101 from_here, callback);
102 } 102 }
103 103
104 } // namespace drive_backend 104 } // namespace drive_backend
105 } // namespace sync_file_system 105 } // namespace sync_file_system
106 106
107 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_ 107 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698