Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / chromeos / drive / file_system_metadata.h
blob4ca0c873b9f61f8541194440431ed9dab219f6cc
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
8 #include "base/basictypes.h"
9 #include "base/time/time.h"
10 #include "chrome/browser/chromeos/drive/file_errors.h"
12 namespace drive {
14 // Metadata of FileSystem. Used by FileSystem::GetMetadata().
15 struct FileSystemMetadata {
16 FileSystemMetadata();
17 ~FileSystemMetadata();
19 // The largest changestamp that the file system holds (may be different
20 // from the one on the server)
21 int64 largest_changestamp;
23 // True if the resource metadata is now being fetched from the server.
24 bool refreshing;
26 // Time of the last update check.
27 base::Time last_update_check_time;
29 // Error code of the last update check.
30 FileError last_update_check_error;
33 } // namespace drive
35 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_