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

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

Issue 1183443002: Reland: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn check... Created 5 years, 6 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/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_device_client.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/core/device_client.h"
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 // Implementation of device::DeviceClient that returns //device service 13 // Implementation of device::DeviceClient that returns //device service
14 // singletons appropriate for use within the Chrome application. 14 // singletons appropriate for use within the Chrome application.
15 class ChromeDeviceClient : device::DeviceClient { 15 class ChromeDeviceClient : device::DeviceClient {
16 public: 16 public:
17 ChromeDeviceClient(); 17 ChromeDeviceClient();
18 ~ChromeDeviceClient() override; 18 ~ChromeDeviceClient() override;
19 19
20 // device::DeviceClient implementation 20 // device::DeviceClient implementation
21 device::UsbService* GetUsbService() override; 21 device::UsbService* GetUsbService() override;
22 void ConnectToUSBDeviceManager(
23 mojo::InterfaceRequest<device::usb::DeviceManager> request) override;
24 device::HidService* GetHidService() override; 22 device::HidService* GetHidService() override;
25 23
26 private: 24 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient); 25 DISALLOW_COPY_AND_ASSIGN(ChromeDeviceClient);
28 }; 26 };
29 27
30 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_ 28 #endif // CHROME_BROWSER_CHROME_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698