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

Unified Diff: chrome/browser/extensions/api/hid/hid_device_manager.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_device_manager.cc
diff --git a/chrome/browser/extensions/api/hid/hid_device_manager.cc b/chrome/browser/extensions/api/hid/hid_device_manager.cc
index 016f3fb5bfbd6c1d04a606d60331da1314bc5000..fa6417054e0e72a0bc296447c97e4e537894fc1c 100644
--- a/chrome/browser/extensions/api/hid/hid_device_manager.cc
+++ b/chrome/browser/extensions/api/hid/hid_device_manager.cc
@@ -20,10 +20,10 @@ HidDeviceManager::HidDeviceManager(content::BrowserContext* context)
HidDeviceManager::~HidDeviceManager() {}
// static
-ProfileKeyedAPIFactory<HidDeviceManager>*
+BrowserContextKeyedAPIFactory<HidDeviceManager>*
HidDeviceManager::GetFactoryInstance() {
- static base::LazyInstance<ProfileKeyedAPIFactory<HidDeviceManager> > factory =
- LAZY_INSTANCE_INITIALIZER;
+ static base::LazyInstance<BrowserContextKeyedAPIFactory<HidDeviceManager> >
+ factory = LAZY_INSTANCE_INITIALIZER;
return &factory.Get();
}
« no previous file with comments | « chrome/browser/extensions/api/hid/hid_device_manager.h ('k') | chrome/browser/extensions/api/history/history_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698