Index: google_apis/drive/drive_api_parser.h |
diff --git a/google_apis/drive/drive_api_parser.h b/google_apis/drive/drive_api_parser.h |
index ef02623e02cf309f8a1b07e6cf1b1f9b96675703..f43325dfb2e487582f6e2caad143b7aea7d17851 100644 |
--- a/google_apis/drive/drive_api_parser.h |
+++ b/google_apis/drive/drive_api_parser.h |
@@ -557,6 +557,7 @@ class FileResource { |
// Returns parent references (directories) of this file. |
const ScopedVector<ParentReference>& parents() const { return parents_; } |
+ ScopedVector<ParentReference>* mutable_parents() { return &parents_; } |
// Returns the link to the file's thumbnail. |
const GURL& thumbnail_link() const { return thumbnail_link_; } |
@@ -761,6 +762,7 @@ class ChangeResource { |
// Returns FileResource of the file which the change refers to. |
const FileResource* file() const { return file_.get(); } |
+ FileResource* mutable_file() { return file_.get(); } |
void set_change_id(int64 change_id) { |
change_id_ = change_id; |