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

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

Issue 11343004: drive: Add "Delta Update Status" section to chrome:drive-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 dbb4856499d13ec7bc12bce0733d544516b770e3..98de02b2514327d84e14fe602e5b3dfba47a7cea 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -728,6 +728,12 @@ class DriveFileSystem : public DriveFileSystemInterface,
// Periodic timer for checking updates.
base::Timer update_timer_;
+ // Time of the last update check.
+ base::Time last_update_check_time_;
+
+ // Error of the last update check.
+ DriveFileError last_update_check_error_;
+
// True if hosted documents should be hidden.
bool hide_hosted_docs_;
@@ -747,6 +753,12 @@ class DriveFileSystem : public DriveFileSystemInterface,
scoped_ptr<DriveScheduler> scheduler_;
+ // Polling interval for checking updates in seconds.
+ int polling_interval_sec_;
+
+ // True if push notification is enabled.
+ bool push_notification_enabled_;
+
// WeakPtrFactory and WeakPtr bound to the UI thread.
// Note: These should remain the last member so they'll be destroyed and
// invalidate the weak pointers before any other members are destroyed.
@@ -754,9 +766,6 @@ class DriveFileSystem : public DriveFileSystemInterface,
// Unlike other classes, we need this as we need this to redirect a task
// from IO thread to UI thread.
base::WeakPtr<DriveFileSystem> ui_weak_ptr_;
-
- // Polling interval for checking updates in seconds.
- int polling_interval_sec_;
};
} // namespace drive
« 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