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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system.cc

Issue 11106009: drive: Add the local largest changestamp to chrome:drive-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/drive_file_system.cc
diff --git a/chrome/browser/chromeos/drive/drive_file_system.cc b/chrome/browser/chromeos/drive/drive_file_system.cc
index 11214ae5f6c7a570fa6ca42e584379d14fd2f123..d1ed7a87eaa851071012a743b890733cb328c1c6 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.cc
+++ b/chrome/browser/chromeos/drive/drive_file_system.cc
@@ -2651,6 +2651,12 @@ void DriveFileSystem::UpdateCacheEntryOnUIThread(
params.callback));
}
+DriveFileSystemMetadata DriveFileSystem::GetMetadata() const {
Zachary Kuznia 2012/10/16 07:19:12 Since you're only returning the largest changestam
satorux1 2012/10/16 07:37:17 I'm going to expose some more metadata shortly to
+ DriveFileSystemMetadata metadata;
+ metadata.largest_changestamp = resource_metadata_->largest_changestamp();
+ return metadata;
+}
+
void DriveFileSystem::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system.h ('k') | chrome/browser/chromeos/drive/drive_file_system_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698