summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/api
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/browser/api')
-rw-r--r--extensions/shell/browser/api/shell_extensions_api_client.cc27
-rw-r--r--extensions/shell/browser/api/shell_extensions_api_client.h28
2 files changed, 0 insertions, 55 deletions
diff --git a/extensions/shell/browser/api/shell_extensions_api_client.cc b/extensions/shell/browser/api/shell_extensions_api_client.cc
deleted file mode 100644
index a8e7d11..0000000
--- a/extensions/shell/browser/api/shell_extensions_api_client.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "extensions/shell/browser/api/shell_extensions_api_client.h"
-
-#include "content/public/browser/browser_thread.h"
-#include "device/hid/hid_service.h"
-
-namespace extensions {
-
-ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
-}
-
-ShellExtensionsAPIClient::~ShellExtensionsAPIClient() {
-}
-
-device::HidService* ShellExtensionsAPIClient::GetHidService() {
- if (!hid_service_) {
- hid_service_.reset(device::HidService::Create(
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::UI)));
- }
- return hid_service_.get();
-}
-
-} // namespace extensions
diff --git a/extensions/shell/browser/api/shell_extensions_api_client.h b/extensions/shell/browser/api/shell_extensions_api_client.h
deleted file mode 100644
index 41f548f..0000000
--- a/extensions/shell/browser/api/shell_extensions_api_client.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
-#define EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "extensions/browser/api/extensions_api_client.h"
-
-namespace extensions {
-
-// Extra support for Chrome extensions APIs in app_shell.
-class ShellExtensionsAPIClient : public ExtensionsAPIClient {
- public:
- ShellExtensionsAPIClient();
- virtual ~ShellExtensionsAPIClient();
-
- // ExtensionsAPIClient implementation.
- virtual device::HidService* GetHidService() OVERRIDE;
-
- private:
- scoped_ptr<device::HidService> hid_service_;
-};
-
-} // namespace extensions
-
-#endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_