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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 22810002: SyncFS: Reorder initialization sequence of SyncFileSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 2d60399f7b7ff69b89bf5109c1949aaf4ba6a829..d8f69a6a99c848fbf405c5bdeed29e5ee6e8d120 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2422,7 +2422,9 @@ void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
additional_backends->push_back(backend);
#endif
- additional_backends->push_back(new sync_file_system::SyncFileSystemBackend());
+ additional_backends->push_back(
+ new sync_file_system::SyncFileSystemBackend(
+ Profile::FromBrowserContext(browser_context)));
}
#if defined(OS_POSIX) && !defined(OS_MACOSX)
« no previous file with comments | « no previous file | chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698