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

Side by Side Diff: remoting/host/setup/daemon_controller.cc

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 "remoting/host/setup/daemon_controller.h" 5 #include "remoting/host/setup/daemon_controller.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "remoting/base/auto_thread.h" 15 #include "remoting/base/auto_thread.h"
16 #include "remoting/base/auto_thread_task_runner.h" 16 #include "remoting/base/auto_thread_task_runner.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 // Name of the Daemon Controller's worker thread. 20 // Name of the Daemon Controller's worker thread.
21 const char kDaemonControllerThreadName[] = "Daemon Controller thread"; 21 const char kDaemonControllerThreadName[] = "Daemon Controller thread";
22 22
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 if (!servicing_request) 193 if (!servicing_request)
194 ServiceNextRequest(); 194 ServiceNextRequest();
195 } 195 }
196 196
197 void DaemonController::ServiceNextRequest() { 197 void DaemonController::ServiceNextRequest() {
198 if (!pending_requests_.empty()) 198 if (!pending_requests_.empty())
199 delegate_task_runner_->PostTask(FROM_HERE, pending_requests_.front()); 199 delegate_task_runner_->PostTask(FROM_HERE, pending_requests_.front());
200 } 200 }
201 201
202 } // namespace remoting 202 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698