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

Side by Side Diff: chrome/browser/chrome_device_client.h

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 | « chrome/browser/DEPS ('k') | chrome/browser/chromeos/printer_detector/printer_detector.cc » ('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 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 #ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
7 7
8 #include "device/core/device_client.h" 8 #include "device/base/device_client.h"
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 14
15 // Implementation of device::DeviceClient that returns //device service 15 // Implementation of device::DeviceClient that returns //device service
16 // singletons appropriate for use within the Chrome application. 16 // singletons appropriate for use within the Chrome application.
17 class ChromeDeviceClient : device::DeviceClient { 17 class ChromeDeviceClient : device::DeviceClient {
18 public: 18 public:
19 ChromeDeviceClient(); 19 ChromeDeviceClient();
20 ~ChromeDeviceClient() override; 20 ~ChromeDeviceClient() override;
21 21
22 // device::DeviceClient implementation 22 // device::DeviceClient implementation
23 device::UsbService* GetUsbService() override; 23 device::UsbService* GetUsbService() override;
24 device::HidService* GetHidService() override; 24 device::HidService* GetHidService() override;
25 25
26 private: 26 private:
27 std::unique_ptr<device::HidService> hid_service_; 27 std::unique_ptr<device::HidService> hid_service_;
28 std::unique_ptr<device::UsbService> usb_service_; 28 std::unique_ptr<device::UsbService> usb_service_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient); 30 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ 33 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chromeos/printer_detector/printer_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698