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

Side by Side Diff: remoting/host/security_key/fake_remote_security_key_ipc_client.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/security_key/fake_remote_security_key_ipc_client.h" 5 #include "remoting/host/security_key/fake_remote_security_key_ipc_client.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "ipc/ipc_channel.h" 14 #include "ipc/ipc_channel.h"
15 #include "ipc/ipc_message.h" 15 #include "ipc/ipc_message.h"
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 #include "remoting/host/chromoting_messages.h" 17 #include "remoting/host/chromoting_messages.h"
18 18
19 namespace remoting { 19 namespace remoting {
20 20
21 FakeRemoteSecurityKeyIpcClient::FakeRemoteSecurityKeyIpcClient( 21 FakeRemoteSecurityKeyIpcClient::FakeRemoteSecurityKeyIpcClient(
22 const base::Closure& channel_event_callback) 22 const base::Closure& channel_event_callback)
23 : channel_event_callback_(channel_event_callback), weak_factory_(this) { 23 : channel_event_callback_(channel_event_callback), weak_factory_(this) {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 channel_event_callback_.Run(); 119 channel_event_callback_.Run();
120 } 120 }
121 121
122 void FakeRemoteSecurityKeyIpcClient::OnSecurityKeyResponse( 122 void FakeRemoteSecurityKeyIpcClient::OnSecurityKeyResponse(
123 const std::string& request_data) { 123 const std::string& request_data) {
124 last_message_received_ = request_data; 124 last_message_received_ = request_data;
125 channel_event_callback_.Run(); 125 channel_event_callback_.Run();
126 } 126 }
127 127
128 } // namespace remoting 128 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/policy_watcher_unittest.cc ('k') | remoting/host/security_key/fake_remote_security_key_message_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698