summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/drive_file_system_interface.h
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 09:38:34 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 09:38:34 +0000
commit811eee571c78004946f55a138751687fd4943248 (patch)
treec57572e0ed7a456e19857bcd30072560ad87cc34 /chrome/browser/chromeos/drive/drive_file_system_interface.h
parentb25ffa5c6aff387d371c4d26aa37a9c3315d2321 (diff)
downloadchromium_src-811eee571c78004946f55a138751687fd4943248.zip
chromium_src-811eee571c78004946f55a138751687fd4943248.tar.gz
chromium_src-811eee571c78004946f55a138751687fd4943248.tar.bz2
Drive: Add a method to reload the file system metadata from the server
This patch is the C++ side of 2 patches. The UI side patch will be committed later. BUG=155478 TEST=manual Review URL: https://codereview.chromium.org/11266035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/drive_file_system_interface.h')
-rw-r--r--chrome/browser/chromeos/drive/drive_file_system_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/drive/drive_file_system_interface.h b/chrome/browser/chromeos/drive/drive_file_system_interface.h
index 867ed6b..4b115eb 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_interface.h
+++ b/chrome/browser/chromeos/drive/drive_file_system_interface.h
@@ -360,8 +360,12 @@ class DriveFileSystemInterface {
const FilePath& file_content_path,
const base::Closure& callback) = 0;
- // Returns metadata of the file system.
+ // Returns miscellaneous metadata of the file system like the largest
+ // timestamp. Used in chrome:drive-internals.
virtual DriveFileSystemMetadata GetMetadata() const = 0;
+
+ // Reloads the file system feeds from the server.
+ virtual void Reload() = 0;
};
} // namespace drive