Index: chrome/browser/chromeos/drive/drive_sync_client.cc |
diff --git a/chrome/browser/chromeos/drive/drive_sync_client.cc b/chrome/browser/chromeos/drive/drive_sync_client.cc |
index 04d43cd1364af335c85525d2a66af3b4d0aae5da..6de15dff5975d4ba820dac8d55f4ce4df581af60 100644 |
--- a/chrome/browser/chromeos/drive/drive_sync_client.cc |
+++ b/chrome/browser/chromeos/drive/drive_sync_client.cc |
@@ -430,9 +430,8 @@ void DriveSyncClient::OnUploadFileComplete(const std::string& resource_id, |
DoSyncLoop(); |
} |
-void DriveSyncClient::Observe(int type, |
- const content::NotificationSource& source, |
- const content::NotificationDetails& details) { |
+void DriveSyncClient::OnPreferenceChanged(PrefServiceBase* service, |
+ const std::string& pref_name) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
// Resume the sync loop if gdata preferences are changed. Note that we |