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

Side by Side Diff: chrome/browser/chromeos/drive/file_system_metadata.h

Issue 18050009: Use a direct include of time headers in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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_FILE_SYSTEM_METADATA_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_ 6 #define CHROME_BROWSER_CHROMEOS_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/time.h"
10 #include "chrome/browser/chromeos/drive/file_errors.h" 10 #include "chrome/browser/chromeos/drive/file_errors.h"
11 11
12 namespace drive { 12 namespace drive {
13 13
14 // Metadata of FileSystem. Used by FileSystem::GetMetadata(). 14 // Metadata of FileSystem. Used by FileSystem::GetMetadata().
15 struct FileSystemMetadata { 15 struct FileSystemMetadata {
16 FileSystemMetadata(); 16 FileSystemMetadata();
17 ~FileSystemMetadata(); 17 ~FileSystemMetadata();
18 18
19 // The largest changestamp that the file system holds (may be different 19 // The largest changestamp that the file system holds (may be different
20 // from the one on the server) 20 // from the one on the server)
21 int64 largest_changestamp; 21 int64 largest_changestamp;
22 22
23 // True if the resource metadata is now being fetched from the server. 23 // True if the resource metadata is now being fetched from the server.
24 bool refreshing; 24 bool refreshing;
25 25
26 // Time of the last update check. 26 // Time of the last update check.
27 base::Time last_update_check_time; 27 base::Time last_update_check_time;
28 28
29 // Error code of the last update check. 29 // Error code of the last update check.
30 FileError last_update_check_error; 30 FileError last_update_check_error;
31 }; 31 };
32 32
33 } // namespace drive 33 } // namespace drive
34 34
35 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_ 35 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698