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

Side by Side Diff: device/base/mock_device_client.cc

Issue 2417043002: Move device/core files to device/base directory. (Closed)
Patch Set: Fix ChromeOS build Created 4 years, 2 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
« no previous file with comments | « device/base/mock_device_client.h ('k') | device/core/BUILD.gn » ('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 "device/core/mock_device_client.h" 5 #include "device/base/mock_device_client.h"
6 6
7 #include "device/hid/mock_hid_service.h" 7 #include "device/hid/mock_hid_service.h"
8 #include "device/usb/mock_usb_service.h" 8 #include "device/usb/mock_usb_service.h"
9 9
10 namespace device { 10 namespace device {
11 11
12 MockDeviceClient::MockDeviceClient() {} 12 MockDeviceClient::MockDeviceClient() {}
13 13
14 MockDeviceClient::~MockDeviceClient() {} 14 MockDeviceClient::~MockDeviceClient() {}
15 15
(...skipping 11 matching lines...) Expand all
27 return hid_service_.get(); 27 return hid_service_.get();
28 } 28 }
29 29
30 MockUsbService* MockDeviceClient::usb_service() { 30 MockUsbService* MockDeviceClient::usb_service() {
31 if (!usb_service_) 31 if (!usb_service_)
32 usb_service_.reset(new MockUsbService()); 32 usb_service_.reset(new MockUsbService());
33 return usb_service_.get(); 33 return usb_service_.get();
34 } 34 }
35 35
36 } // namespace device 36 } // namespace device
OLDNEW
« no previous file with comments | « device/base/mock_device_client.h ('k') | device/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698