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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service_factory.cc

Issue 23514025: Use GetForBrowserContext instead of GetForProfile for DriveNotificationManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & resolve conflict Created 7 years, 3 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/sync_file_system/sync_file_system_service_factory.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service_factory.cc b/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
index 1ee0666e1cbd9470f9a8a623b0e1594c56c6c5de..cb5726994eff8fa85d3b60b40f11a71c2f549d19 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service_factory.cc
@@ -89,7 +89,7 @@ SyncFileSystemServiceFactory::BuildServiceInstanceFor(
std::string() /* custom_user_agent */));
drive::DriveNotificationManager* notification_manager =
- drive::DriveNotificationManagerFactory::GetForProfile(profile);
+ drive::DriveNotificationManagerFactory::GetForBrowserContext(profile);
ExtensionService* extension_service =
extensions::ExtensionSystem::Get(profile)->extension_service();

Powered by Google App Engine
This is Rietveld 408576698