Index: chrome/browser/drive/fake_drive_service.h |
diff --git a/chrome/browser/drive/fake_drive_service.h b/chrome/browser/drive/fake_drive_service.h |
index 991f509ef29f857d49e8cf1b369e605d50731088..220973ed11bd3c57f3e72e8ca56d9cee9793d95d 100644 |
--- a/chrome/browser/drive/fake_drive_service.h |
+++ b/chrome/browser/drive/fake_drive_service.h |
@@ -284,6 +284,11 @@ class FakeDriveService : public DriveServiceInterface { |
const base::Time& last_modified_time, |
const google_apis::FileResourceCallback& callback); |
+ // Sets the user's permission for an entry specified by |resource_id|. |
+ google_apis::GDataErrorCode SetUserPermission( |
+ const std::string& resource_id, |
+ google_apis::drive::PermissionRole user_permission); |
+ |
private: |
struct EntryInfo; |
struct UploadSession; |