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

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

Issue 291403004: [SyncFS] Add TaskLogger and wire up it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 7 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/remote_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/remote_file_sync_service.cc b/chrome/browser/sync_file_system/remote_file_sync_service.cc
index 522146c100081e4486beda18de63bec1bc1977b4..cf2d2eea5d97cff5f45a69ee8cc07c91e75873de 100644
--- a/chrome/browser/sync_file_system/remote_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/remote_file_sync_service.cc
@@ -12,14 +12,15 @@ namespace sync_file_system {
scoped_ptr<RemoteFileSyncService>
RemoteFileSyncService::CreateForBrowserContext(
BackendVersion version,
- content::BrowserContext* context) {
+ content::BrowserContext* context,
+ TaskLogger* task_logger) {
switch (version) {
case V1:
return DriveFileSyncService::Create(
Profile::FromBrowserContext(context)).PassAs<RemoteFileSyncService>();
case V2:
return drive_backend::SyncEngine::CreateForBrowserContext(
- context).PassAs<RemoteFileSyncService>();
+ context, task_logger).PassAs<RemoteFileSyncService>();
}
NOTREACHED() << "Unknown version " << version;
return scoped_ptr<RemoteFileSyncService>();
« no previous file with comments | « chrome/browser/sync_file_system/remote_file_sync_service.h ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698