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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system.h

Issue 14256007: drive: Remove polling code from DriveFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h
index 4e953e4c423278899c9f6d7186764d5d740fa404..1248b1daf3ea4f69defbabddc449f613887b36f1 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
-#include "base/timer.h"
#include "chrome/browser/chromeos/drive/change_list_loader.h"
#include "chrome/browser/chromeos/drive/change_list_loader_observer.h"
#include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
@@ -168,11 +167,6 @@ class DriveFileSystem : public DriveFileSystemInterface,
// Struct used for AddUploadedFile.
struct AddUploadedFileParams;
- // Starts and stops periodic polling.
- // TODO(satorux): Remove them. crbug.com/231202
- void StartPolling();
- void StopPolling();
-
// Used to implement Reload().
void ReloadAfterReset();
@@ -455,9 +449,6 @@ class DriveFileSystem : public DriveFileSystemInterface,
DriveResourceMetadata* resource_metadata_;
- // Periodic timer for checking updates.
- base::Timer update_timer_;
-
// Time of the last update check.
base::Time last_update_check_time_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698