Convert env to a defaultdict in run_executable() to fix other callers of that function.
[chromium-blink-merge.git] / extensions / shell / browser / shell_device_client.h
blob453033f0d2aff2517f05474731a5e789cefb250b
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DEVICE_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DEVICE_CLIENT_H_
8 #include "device/core/device_client.h"
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
13 namespace extensions {
15 // Implementation of device::DeviceClient that returns //device API service
16 // singletons appropriate for use within app shell.
17 class ShellDeviceClient : device::DeviceClient {
18 public:
19 ShellDeviceClient();
20 virtual ~ShellDeviceClient();
22 // device::DeviceClient implementation
23 virtual device::UsbService* GetUsbService() override;
24 virtual device::HidService* GetHidService() override;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ShellDeviceClient);
32 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DEVICE_CLIENT_H_