Index: chrome/browser/sync_file_system/drive_backend/sync_engine.cc |
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc |
index 320e6f6604a0101caa012ed577ada6b33bcf01d9..c0e952704a8dfb9177c6075c09cb028b6301a16b 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc |
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc |
@@ -358,7 +358,6 @@ void SyncEngine::InitializeInternal( |
drive_service_->AddObserver(this); |
service_state_ = REMOTE_SERVICE_TEMPORARY_UNAVAILABLE; |
- SetSyncEnabled(sync_enabled_); |
OnNetworkChanged(net::NetworkChangeNotifier::GetConnectionType()); |
if (drive_service_->HasRefreshToken()) |
OnReadyToSendRequests(); |
@@ -665,7 +664,7 @@ void SyncEngine::OnNotificationReceived() { |
"Got push notification for Drive")); |
} |
-void SyncEngine::OnPushNotificationEnabled(bool) {} |
+void SyncEngine::OnPushNotificationEnabled(bool /* enabled */) {} |
void SyncEngine::OnReadyToSendRequests() { |
has_refresh_token_ = true; |