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

Unified Diff: chrome/browser/chromeos/gdata/gdata_files.h

Issue 10823226: Get AboutResource as account metadata for Drive V2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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/gdata/gdata_files.h
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h
index f1dfe115c73eab795a469de0a3bfb9a28059c2c5..0473cf113818d3f95ef1a83c88c26e9ee2d8d9a3 100644
--- a/chrome/browser/chromeos/gdata/gdata_files.h
+++ b/chrome/browser/chromeos/gdata/gdata_files.h
@@ -363,13 +363,16 @@ class GDataDirectoryService {
// Largest change timestamp that was the source of content for the current
// state of the root directory.
- const int largest_changestamp() const { return largest_changestamp_; }
- void set_largest_changestamp(int value) { largest_changestamp_ = value; }
+ const int64 largest_changestamp() const { return largest_changestamp_; }
+ void set_largest_changestamp(int64 value) { largest_changestamp_ = value; }
// The root directory content origin.
const ContentOrigin origin() const { return origin_; }
void set_origin(ContentOrigin value) { origin_ = value; }
+ // Sets root directory resource id.
+ void SetRootResourceId(const std::string& root_id);
+
// Adds |entry| to |directory_path| asynchronously.
// Must be called on UI thread. |callback| is called on the UI thread.
void AddEntryToDirectory(const FilePath& directory_path,
@@ -444,7 +447,7 @@ class GDataDirectoryService {
base::Time last_serialized_;
size_t serialized_size_;
- int largest_changestamp_; // Stored in the serialized proto.
+ int64 largest_changestamp_; // Stored in the serialized proto.
ContentOrigin origin_;
// This should remain the last member so it'll be destroyed first and

Powered by Google App Engine
This is Rietveld 408576698