blob: 4ca0c873b9f61f8541194440431ed9dab219f6cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
#include "base/basictypes.h"
#include "base/time/time.h"
#include "chrome/browser/chromeos/drive/file_errors.h"
namespace drive {
// Metadata of FileSystem. Used by FileSystem::GetMetadata().
struct FileSystemMetadata {
FileSystemMetadata();
~FileSystemMetadata();
// The largest changestamp that the file system holds (may be different
// from the one on the server)
int64 largest_changestamp;
// True if the resource metadata is now being fetched from the server.
bool refreshing;
// Time of the last update check.
base::Time last_update_check_time;
// Error code of the last update check.
FileError last_update_check_error;
};
} // namespace drive
#endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_METADATA_H_
|