| Index: chrome/browser/chromeos/drive/change_list_processor.h
|
| diff --git a/chrome/browser/chromeos/drive/change_list_processor.h b/chrome/browser/chromeos/drive/change_list_processor.h
|
| index 2f8d4a5035073b386bdced22223dfa805751bb87..57926bf92dbe44653bad3727d77d5a5088d21b82 100644
|
| --- a/chrome/browser/chromeos/drive/change_list_processor.h
|
| +++ b/chrome/browser/chromeos/drive/change_list_processor.h
|
| @@ -33,14 +33,19 @@ class ResourceMetadata;
|
| class DirectoryFetchInfo {
|
| public:
|
| DirectoryFetchInfo() : changestamp_(0) {}
|
| - DirectoryFetchInfo(const std::string& resource_id,
|
| + DirectoryFetchInfo(const std::string& local_id,
|
| + const std::string& resource_id,
|
| int64 changestamp)
|
| - : resource_id_(resource_id),
|
| + : local_id_(local_id),
|
| + resource_id_(resource_id),
|
| changestamp_(changestamp) {
|
| }
|
|
|
| // Returns true if the object is empty.
|
| - bool empty() const { return resource_id_.empty(); }
|
| + bool empty() const { return local_id_.empty(); }
|
| +
|
| + // Local ID of the directory.
|
| + const std::string& local_id() const { return local_id_; }
|
|
|
| // Resource ID of the directory.
|
| const std::string& resource_id() const { return resource_id_; }
|
| @@ -53,6 +58,7 @@ class DirectoryFetchInfo {
|
| std::string ToString() const;
|
|
|
| private:
|
| + const std::string local_id_;
|
| const std::string resource_id_;
|
| const int64 changestamp_;
|
| };
|
|
|