Index: chrome/browser/sync_file_system/drive_file_sync_service.cc |
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.cc b/chrome/browser/sync_file_system/drive_file_sync_service.cc |
index 1d776ebe9fdce969b1771b40ecbefa218ad8708e..c40defdedbb4136f4e832740fcfe636bff73e51b 100644 |
--- a/chrome/browser/sync_file_system/drive_file_sync_service.cc |
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.cc |
@@ -92,7 +92,7 @@ class DriveFileSyncService::TaskToken { |
task_type_ = task_type; |
description_ = description; |
- DVLOG(1) << "Token updated: " << description_ |
+ DVLOG(2) << "Token updated: " << description_ |
<< " " << location_.ToString(); |
} |
@@ -367,6 +367,9 @@ void DriveFileSyncService::ProcessRemoteChange( |
DCHECK(ContainsKey(*path_to_change, path)); |
const RemoteChange& remote_change = (*path_to_change)[path]; |
+ DVLOG(1) << "ProcessRemoteChange for " << url.DebugString() |
+ << " remote_change:" << remote_change.change.DebugString(); |
+ |
scoped_ptr<ProcessRemoteChangeParam> param(new ProcessRemoteChangeParam( |
token.Pass(), processor, remote_change, callback)); |
processor->PrepareForProcessRemoteChange( |
@@ -587,8 +590,9 @@ void DriveFileSyncService::NotifyTaskDone(fileapi::SyncStatusCode status, |
token_ = token.Pass(); |
if (token_->task_type() != TASK_TYPE_NONE) { |
- DVLOG(1) << "NotifyTaskDone: " << token_->description() |
+ DVLOG(2) << "NotifyTaskDone: " << token_->description() |
<< ": finished with status=" << status |
+ << " (" << SyncStatusCodeToString(status) << ")" |
<< " " << token_->location().ToString(); |
RemoteServiceState old_state = state_; |
@@ -1417,6 +1421,9 @@ void DriveFileSyncService::FetchChangesForIncrementalSync() { |
return; |
} |
+ DVLOG(1) << "FetchChangesForIncrementalSync (start_changestamp:" |
+ << (largest_fetched_changestamp_ + 1) << ")"; |
+ |
sync_client_->ListChanges( |
largest_fetched_changestamp_ + 1, |
base::Bind(&DriveFileSyncService::DidFetchChangesForIncrementalSync, |
@@ -1436,6 +1443,7 @@ void DriveFileSyncService::DidFetchChangesForIncrementalSync( |
for (iterator itr = changes->entries().begin(); |
itr != changes->entries().end(); ++itr) { |
const google_apis::DocumentEntry& entry = **itr; |
+ DVLOG(3) << " change:" << entry.title(); |
GURL origin; |
if (!GetOriginForEntry(entry, &origin)) |
continue; |