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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_task_token.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 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 "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" 5 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
13 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" 13 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
14 #include "chrome/browser/sync_file_system/drive_backend/task_dependency_manager. h" 14 #include "chrome/browser/sync_file_system/drive_backend/task_dependency_manager. h"
15 15
16 namespace sync_file_system { 16 namespace sync_file_system {
17 namespace drive_backend { 17 namespace drive_backend {
18 18
19 const int64_t SyncTaskToken::kTestingTaskTokenID = -1; 19 const int64_t SyncTaskToken::kTestingTaskTokenID = -1;
20 const int64_t SyncTaskToken::kForegroundTaskTokenID = 0; 20 const int64_t SyncTaskToken::kForegroundTaskTokenID = 0;
21 const int64_t SyncTaskToken::kMinimumBackgroundTaskTokenID = 1; 21 const int64_t SyncTaskToken::kMinimumBackgroundTaskTokenID = 1;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::unique_ptr<TaskBlocker> task_blocker, 143 std::unique_ptr<TaskBlocker> task_blocker,
144 const SyncStatusCallback& callback) 144 const SyncStatusCallback& callback)
145 : manager_(manager), 145 : manager_(manager),
146 task_runner_(task_runner), 146 task_runner_(task_runner),
147 token_id_(token_id), 147 token_id_(token_id),
148 callback_(callback), 148 callback_(callback),
149 task_blocker_(std::move(task_blocker)) {} 149 task_blocker_(std::move(task_blocker)) {}
150 150
151 } // namespace drive_backend 151 } // namespace drive_backend
152 } // namespace sync_file_system 152 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698