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

Side by Side Diff: chrome/browser/chromeos/drive/drive_file_system_metadata.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "chrome/browser/chromeos/drive/drive_file_error.h" 10 #include "chrome/browser/chromeos/drive/drive_file_error.h"
(...skipping 11 matching lines...) Expand all
22 22
23 // True if the file system feed is loaded from the cache or from the server. 23 // True if the file system feed is loaded from the cache or from the server.
24 bool loaded; 24 bool loaded;
25 25
26 // True if the feed is now being fetched from the server. 26 // True if the feed is now being fetched from the server.
27 bool refreshing; 27 bool refreshing;
28 28
29 // True if push notification is enabled. 29 // True if push notification is enabled.
30 bool push_notification_enabled; 30 bool push_notification_enabled;
31 31
32 // Polling interval time in seconds used for fetching delta feeds
33 // periodically.
34 int polling_interval_sec;
35
36 // Time of the last update check. 32 // Time of the last update check.
37 base::Time last_update_check_time; 33 base::Time last_update_check_time;
38 34
39 // Error code of the last update check. 35 // Error code of the last update check.
40 DriveFileError last_update_check_error; 36 DriveFileError last_update_check_error;
41 }; 37 };
42 38
43 } // namespace drive 39 } // namespace drive
44 40
45 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_ 41 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_METADATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system.cc ('k') | chrome/browser/chromeos/drive/drive_file_system_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698