Index: chrome/browser/sync_file_system/drive_file_sync_util.cc |
diff --git a/chrome/browser/sync_file_system/drive_file_sync_util.cc b/chrome/browser/sync_file_system/drive_file_sync_util.cc |
index abd2998b9d55fd2aa13867d50ce7584aebb154f9..cb10383cf3ac39fc151c63851c00416d03670e3e 100644 |
--- a/chrome/browser/sync_file_system/drive_file_sync_util.cc |
+++ b/chrome/browser/sync_file_system/drive_file_sync_util.cc |
@@ -6,6 +6,7 @@ |
#include "base/command_line.h" |
#include "base/logging.h" |
+#include "chrome/browser/sync_file_system/logger.h" |
namespace sync_file_system { |
@@ -77,7 +78,7 @@ SyncStatusCode GDataErrorCodeToSyncStatusCode( |
if (error == -1) |
return SYNC_STATUS_NETWORK_ERROR; |
- LOG(WARNING) << "Got unexpected error: " << error; |
+ SYNCFS_LOG(WARNING, "Got unexpected error: %d", static_cast<int>(error)); |
return SYNC_STATUS_FAILED; |
} |