OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |