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

Side by Side Diff: chromeos/binder/remote_object.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (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 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 "chromeos/binder/remote_object.h" 5 #include "chromeos/binder/remote_object.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "chromeos/binder/command_broker.h" 9 #include "chromeos/binder/command_broker.h"
10 10
11 namespace binder { 11 namespace binder {
12 12
13 RemoteObject::RemoteObject(CommandBroker* command_broker, int32_t handle) 13 RemoteObject::RemoteObject(CommandBroker* command_broker, int32_t handle)
14 : release_closure_(command_broker->GetReleaseReferenceClosure(handle)), 14 : release_closure_(command_broker->GetReleaseReferenceClosure(handle)),
15 release_task_runner_(base::ThreadTaskRunnerHandle::Get()), 15 release_task_runner_(base::ThreadTaskRunnerHandle::Get()),
16 handle_(handle) { 16 handle_(handle) {
17 command_broker->AddReference(handle_); 17 command_broker->AddReference(handle_);
18 } 18 }
(...skipping 10 matching lines...) Expand all
29 return TYPE_REMOTE; 29 return TYPE_REMOTE;
30 } 30 }
31 31
32 bool RemoteObject::Transact(CommandBroker* command_broker, 32 bool RemoteObject::Transact(CommandBroker* command_broker,
33 const TransactionData& data, 33 const TransactionData& data,
34 std::unique_ptr<TransactionData>* reply) { 34 std::unique_ptr<TransactionData>* reply) {
35 return command_broker->Transact(handle_, data, reply); 35 return command_broker->Transact(handle_, data, reply);
36 } 36 }
37 37
38 } // namespace binder 38 } // namespace binder
OLDNEW
« no previous file with comments | « chromeos/audio/cras_audio_handler_unittest.cc ('k') | chromeos/binder/transaction_data_from_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698