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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_service.h

Issue 13891016: Merge ChromeOS and SyncFS XMPP Notification into one class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused includes Created 7 years, 8 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/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
index d26ee1159c9bb914970d209f72d5eec0c9cbe749..402ce1cb1f49c42ce3cfeb34fe4a6365b1b87104 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -16,7 +16,6 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/threading/non_thread_safe.h"
-#include "base/timer.h"
#include "chrome/browser/google_apis/drive_notification_observer.h"
#include "chrome/browser/sync_file_system/drive_file_sync_client_interface.h"
#include "chrome/browser/sync_file_system/drive_metadata_store.h"
@@ -428,9 +427,6 @@ class DriveFileSyncService
google_apis::GDataErrorCode error,
scoped_ptr<google_apis::ResourceList> changes);
bool GetOriginForEntry(const google_apis::ResourceEntry& entry, GURL* origin);
- void SchedulePolling();
- void OnPollingTimerFired();
- void UpdatePollingDelay(int64 new_delay_sec);
void NotifyObserversFileStatusChanged(const fileapi::FileSystemURL& url,
SyncFileStatus sync_status,
SyncAction action_taken,
@@ -492,11 +488,6 @@ class DriveFileSyncService
// NotifyTaskDone when the task finished.
scoped_ptr<TaskToken> token_;
- // Timer to trigger fetching changes for incremental sync.
- base::OneShotTimer<DriveFileSyncService> polling_timer_;
- // If polling_delay_seconds_ is negative (<0) the timer won't start.
- int64 polling_delay_seconds_;
-
// Is set to true when there's a fair possibility that we have some
// remote changes that haven't been fetched yet.
//

Powered by Google App Engine
This is Rietveld 408576698