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

Unified Diff: chrome/browser/extensions/api/mdns/mdns_api.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/mdns/mdns_api.cc
diff --git a/chrome/browser/extensions/api/mdns/mdns_api.cc b/chrome/browser/extensions/api/mdns/mdns_api.cc
index b8361cc81f781b38580890f6537d421f32af80de..b67e4a574615ebe1c2d3840f267df36dca794744 100644
--- a/chrome/browser/extensions/api/mdns/mdns_api.cc
+++ b/chrome/browser/extensions/api/mdns/mdns_api.cc
@@ -44,14 +44,14 @@ MDnsAPI::~MDnsAPI() {
// static
MDnsAPI* MDnsAPI::Get(content::BrowserContext* context) {
- return ProfileKeyedAPIFactory<MDnsAPI>::GetForProfile(context);
+ return BrowserContextKeyedAPIFactory<MDnsAPI>::Get(context);
}
-static base::LazyInstance<ProfileKeyedAPIFactory<MDnsAPI> > g_factory =
+static base::LazyInstance<BrowserContextKeyedAPIFactory<MDnsAPI> > g_factory =
LAZY_INSTANCE_INITIALIZER;
// static
-ProfileKeyedAPIFactory<MDnsAPI>* MDnsAPI::GetFactoryInstance() {
+BrowserContextKeyedAPIFactory<MDnsAPI>* MDnsAPI::GetFactoryInstance() {
return g_factory.Pointer();
}
« no previous file with comments | « chrome/browser/extensions/api/mdns/mdns_api.h ('k') | chrome/browser/extensions/api/media_galleries/media_galleries_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698