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

Unified Diff: chrome/browser/extensions/api/hid/hid_connection_resource.cc

Issue 161823002: Clean up HID backend and API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/hid/hid_connection_resource.cc
diff --git a/chrome/browser/extensions/api/hid/hid_device_resource.cc b/chrome/browser/extensions/api/hid/hid_connection_resource.cc
similarity index 76%
rename from chrome/browser/extensions/api/hid/hid_device_resource.cc
rename to chrome/browser/extensions/api/hid/hid_connection_resource.cc
index 074337a2a6810b7404e2421e71f5b4d476b0d51d..9fb1ec266d35b3f9e0d2c0482a2eb20662b20d43 100644
--- a/chrome/browser/extensions/api/hid/hid_device_resource.cc
+++ b/chrome/browser/extensions/api/hid/hid_connection_resource.cc
@@ -2,20 +2,21 @@
// 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 "chrome/browser/extensions/api/hid/hid_connection_resource.h"
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
+#include "base/lazy_instance.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 base::LazyInstance<
+ ProfileKeyedAPIFactory<ApiResourceManager<HidConnectionResource> > >
+ g_factory = LAZY_INSTANCE_INITIALIZER;
// static
template <>
« no previous file with comments | « chrome/browser/extensions/api/hid/hid_connection_resource.h ('k') | chrome/browser/extensions/api/hid/hid_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698