| Index: chrome/browser/extensions/api/hid/hid_device_resource.cc
|
| diff --git a/chrome/browser/extensions/api/hid/hid_device_resource.cc b/chrome/browser/extensions/api/hid/hid_device_resource.cc
|
| deleted file mode 100644
|
| index 074337a2a6810b7404e2421e71f5b4d476b0d51d..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/extensions/api/hid/hid_device_resource.cc
|
| +++ /dev/null
|
| @@ -1,34 +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 "chrome/browser/extensions/api/hid/hid_device_resource.h"
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/bind.h"
|
| -#include "base/bind_helpers.h"
|
| -#include "base/memory/ref_counted.h"
|
| -#include "device/hid/hid_connection.h"
|
| -
|
| -namespace extensions {
|
| -
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<
|
| - ApiResourceManager<HidConnectionResource> > >
|
| - g_factory = LAZY_INSTANCE_INITIALIZER;
|
| -
|
| -// static
|
| -template <>
|
| -ProfileKeyedAPIFactory<ApiResourceManager<HidConnectionResource> >*
|
| -ApiResourceManager<HidConnectionResource>::GetFactoryInstance() {
|
| - return &g_factory.Get();
|
| -}
|
| -
|
| -HidConnectionResource::HidConnectionResource(
|
| - const std::string& owner_extension_id,
|
| - scoped_refptr<device::HidConnection> connection)
|
| - : ApiResource(owner_extension_id), connection_(connection) {}
|
| -
|
| -HidConnectionResource::~HidConnectionResource() {}
|
| -
|
| -} // namespace extensions
|
|
|