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

Side by Side Diff: remoting/host/security_key/gnubby_extension_session_unittest.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/gnubby_extension_session.h" 5 #include "remoting/host/security_key/gnubby_extension_session.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/timer/mock_timer.h" 18 #include "base/timer/mock_timer.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "net/base/io_buffer.h" 20 #include "net/base/io_buffer.h"
21 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
22 #include "net/base/test_completion_callback.h" 22 #include "net/base/test_completion_callback.h"
23 #include "net/socket/unix_domain_client_socket_posix.h" 23 #include "net/socket/unix_domain_client_socket_posix.h"
24 #include "remoting/host/host_mock_objects.h" 24 #include "remoting/host/host_mock_objects.h"
25 #include "remoting/host/security_key/gnubby_auth_handler.h" 25 #include "remoting/host/security_key/gnubby_auth_handler.h"
26 #include "remoting/proto/internal.pb.h" 26 #include "remoting/proto/internal.pb.h"
27 #include "remoting/protocol/client_stub.h" 27 #include "remoting/protocol/client_stub.h"
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 mock_gnubby_auth_handler_->GetSendMessageCallback().Run(42, "test_msg"); 372 mock_gnubby_auth_handler_->GetSendMessageCallback().Run(42, "test_msg");
373 373
374 client_stub_.WaitForDeliverHostMessage( 374 client_stub_.WaitForDeliverHostMessage(
375 base::TimeDelta::FromMilliseconds(500)); 375 base::TimeDelta::FromMilliseconds(500));
376 376
377 // Expects a JSON array of the ASCII character codes for "test_msg". 377 // Expects a JSON array of the ASCII character codes for "test_msg".
378 client_stub_.CheckHostDataMessage(42, "[116,101,115,116,95,109,115,103]"); 378 client_stub_.CheckHostDataMessage(42, "[116,101,115,116,95,109,115,103]");
379 } 379 }
380 380
381 } // namespace remoting 381 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698