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

Unified Diff: chrome/browser/drive/drive_service_interface.h

Issue 944413003: Add support for setting properties to requests uploading contents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up. Created 5 years, 10 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/drive_api_service.cc ('k') | google_apis/drive/base_requests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_service_interface.h
diff --git a/chrome/browser/drive/drive_service_interface.h b/chrome/browser/drive/drive_service_interface.h
index 1f789a8d0fa3d31f8c8e27c76a46d56136031a79..0d56401e7b1f6a8f66c8fbd09584e0371aabc1f8 100644
--- a/chrome/browser/drive/drive_service_interface.h
+++ b/chrome/browser/drive/drive_service_interface.h
@@ -51,6 +51,9 @@ class DriveServiceInterface {
// last_viewed_by_me_date of the directory.
// Pass the null Time if you are not interested in setting this property.
base::Time last_viewed_by_me_date;
+
+ // List of properties for a new directory.
+ google_apis::drive::Properties properties;
};
// Optional parameters for InitiateUploadNewFile() and
@@ -66,6 +69,9 @@ class DriveServiceInterface {
// last_viewed_by_me_date of the file.
// Pass the null Time if you are not interested in setting this property.
base::Time last_viewed_by_me_date;
+
+ // List of properties for a new file.
+ google_apis::drive::Properties properties;
};
// Optional parameters for InitiateUploadExistingFile() and
@@ -94,6 +100,10 @@ class DriveServiceInterface {
// New last_viewed_by_me_date of the file.
// Pass the null Time if you are not interested in setting this property.
base::Time last_viewed_by_me_date;
+
+ // List of new properties for an existing file (it will be merged with
+ // existing properties).
+ google_apis::drive::Properties properties;
};
virtual ~DriveServiceInterface() {}
« no previous file with comments | « chrome/browser/drive/drive_api_service.cc ('k') | google_apis/drive/base_requests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698