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

Side by Side Diff: device/serial/serial_service_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 <memory> 5 #include <memory>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
13 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
14 #include "device/serial/serial.mojom.h" 15 #include "device/serial/serial.mojom.h"
15 #include "device/serial/serial_service_impl.h" 16 #include "device/serial/serial_service_impl.h"
16 #include "device/serial/test_serial_io_handler.h" 17 #include "device/serial/test_serial_io_handler.h"
17 #include "mojo/public/cpp/bindings/interface_ptr.h" 18 #include "mojo/public/cpp/bindings/interface_ptr.h"
18 #include "mojo/public/cpp/bindings/interface_request.h" 19 #include "mojo/public/cpp/bindings/interface_request.h"
19 #include "mojo/public/cpp/bindings/strong_binding.h" 20 #include "mojo/public/cpp/bindings/strong_binding.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 TEST_F(SerialServiceTest, ConnectInvalidPath) { 142 TEST_F(SerialServiceTest, ConnectInvalidPath) {
142 RunConnectTest("invalid_path", false); 143 RunConnectTest("invalid_path", false);
143 } 144 }
144 145
145 TEST_F(SerialServiceTest, ConnectOpenFailed) { 146 TEST_F(SerialServiceTest, ConnectOpenFailed) {
146 io_handler_ = new FailToOpenIoHandler; 147 io_handler_ = new FailToOpenIoHandler;
147 RunConnectTest("device", false); 148 RunConnectTest("device", false);
148 } 149 }
149 150
150 } // namespace device 151 } // namespace device
OLDNEW
« no previous file with comments | « device/power_monitor/power_monitor_message_broadcaster.cc ('k') | device/usb/mojo/device_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698