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

Unified Diff: chrome/browser/extensions/api/socket/socket.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/socket/socket.cc
diff --git a/chrome/browser/extensions/api/socket/socket.cc b/chrome/browser/extensions/api/socket/socket.cc
index b9238aed4ec47980a3c858bc8fa737e70afd0a90..6d989f5f62df5d58d6aa5f074412f7a711cf4126 100644
--- a/chrome/browser/extensions/api/socket/socket.cc
+++ b/chrome/browser/extensions/api/socket/socket.cc
@@ -17,12 +17,13 @@ namespace extensions {
const char kSocketTypeNotSupported[] = "Socket type does not support this API";
-static base::LazyInstance<ProfileKeyedAPIFactory<ApiResourceManager<Socket> > >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> > > g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
template <>
-ProfileKeyedAPIFactory<ApiResourceManager<Socket> >*
+BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> >*
ApiResourceManager<Socket>::GetFactoryInstance() {
return g_factory.Pointer();
}

Powered by Google App Engine
This is Rietveld 408576698