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

Unified Diff: chrome/browser/extensions/api/image_writer_private/operation_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/image_writer_private/operation_manager.cc
diff --git a/chrome/browser/extensions/api/image_writer_private/operation_manager.cc b/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
index e2d8b33dbe8a2ea13c1751db82ab5115199b762f..2de8d1973cac70b23ff1039b38fa7333cee14dce 100644
--- a/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
+++ b/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
@@ -239,14 +239,14 @@ void OperationManager::Observe(int type,
}
OperationManager* OperationManager::Get(content::BrowserContext* context) {
- return ProfileKeyedAPIFactory<OperationManager>::GetForProfile(context);
+ return BrowserContextKeyedAPIFactory<OperationManager>::Get(context);
}
-static base::LazyInstance<ProfileKeyedAPIFactory<OperationManager> >
+static base::LazyInstance<BrowserContextKeyedAPIFactory<OperationManager> >
g_factory = LAZY_INSTANCE_INITIALIZER;
-ProfileKeyedAPIFactory<OperationManager>*
- OperationManager::GetFactoryInstance() {
+BrowserContextKeyedAPIFactory<OperationManager>*
+OperationManager::GetFactoryInstance() {
return g_factory.Pointer();
}
« no previous file with comments | « chrome/browser/extensions/api/image_writer_private/operation_manager.h ('k') | chrome/browser/extensions/api/input/input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698