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

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

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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_connection_resource.cc b/chrome/browser/extensions/api/hid/hid_connection_resource.cc
index 9fb1ec266d35b3f9e0d2c0482a2eb20662b20d43..7c92ec84d3ad0a2692015ecbb6f3b74f5c360e2d 100644
--- a/chrome/browser/extensions/api/hid/hid_connection_resource.cc
+++ b/chrome/browser/extensions/api/hid/hid_connection_resource.cc
@@ -15,12 +15,12 @@
namespace extensions {
static base::LazyInstance<
- ProfileKeyedAPIFactory<ApiResourceManager<HidConnectionResource> > >
+ BrowserContextKeyedAPIFactory<ApiResourceManager<HidConnectionResource> > >
g_factory = LAZY_INSTANCE_INITIALIZER;
// static
template <>
-ProfileKeyedAPIFactory<ApiResourceManager<HidConnectionResource> >*
+BrowserContextKeyedAPIFactory<ApiResourceManager<HidConnectionResource> >*
ApiResourceManager<HidConnectionResource>::GetFactoryInstance() {
return &g_factory.Get();
}

Powered by Google App Engine
This is Rietveld 408576698