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

Side by Side Diff: device/devices_app/usb/device_impl_unittest.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
« no previous file with comments | « device/devices_app/usb/device_impl.h ('k') | device/devices_app/usb/device_manager_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 5 #include <map>
6 #include <queue> 6 #include <queue>
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "device/devices_app/usb/device_impl.h" 15 #include "device/devices_app/usb/device_impl.h"
16 #include "device/devices_app/usb/fake_permission_provider.h" 16 #include "device/devices_app/usb/fake_permission_provider.h"
17 #include "device/usb/mock_usb_device.h" 17 #include "device/usb/mock_usb_device.h"
18 #include "device/usb/mock_usb_device_handle.h" 18 #include "device/usb/mock_usb_device_handle.h"
19 #include "mojo/public/cpp/bindings/interface_request.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
21 21
22 using ::testing::Invoke; 22 using ::testing::Invoke;
23 using ::testing::_; 23 using ::testing::_;
24 24
25 namespace device { 25 namespace device {
26 namespace usb { 26 namespace usb {
27 27
28 namespace { 28 namespace {
29 29
30 class ConfigBuilder { 30 class ConfigBuilder {
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 1, 4, 8, 0, base::Bind(&ExpectPacketsAndThen, TRANSFER_STATUS_COMPLETED, 804 1, 4, 8, 0, base::Bind(&ExpectPacketsAndThen, TRANSFER_STATUS_COMPLETED,
805 packets, loop.QuitClosure())); 805 packets, loop.QuitClosure()));
806 loop.Run(); 806 loop.Run();
807 } 807 }
808 808
809 EXPECT_CALL(mock_handle(), Close()); 809 EXPECT_CALL(mock_handle(), Close());
810 } 810 }
811 811
812 } // namespace usb 812 } // namespace usb
813 } // namespace device 813 } // namespace device
OLDNEW
« no previous file with comments | « device/devices_app/usb/device_impl.h ('k') | device/devices_app/usb/device_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698