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

Unified Diff: google_apis/drive/drive_api_parser.h

Issue 135643005: drive: Stop using DictionaryValue to store data in FakeDriveService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698