| Index: chrome/browser/google_apis/fake_drive_service.h
|
| diff --git a/chrome/browser/google_apis/fake_drive_service.h b/chrome/browser/google_apis/fake_drive_service.h
|
| index 2023e839fa7ccfc81707dce439cbc027b1244992..cfd549238a73f8716660003ba01f2b31adabb1d3 100644
|
| --- a/chrome/browser/google_apis/fake_drive_service.h
|
| +++ b/chrome/browser/google_apis/fake_drive_service.h
|
| @@ -168,6 +168,21 @@ class FakeDriveService : public DriveServiceInterface {
|
| const std::string& app_id,
|
| const AuthorizeAppCallback& callback) OVERRIDE;
|
|
|
| + // Adds a new file with the given parameters. On success, returns
|
| + // HTTP_CREATED with the parsed entry.
|
| + // |callback| must not be null.
|
| + void AddNewFile(const std::string& content_type,
|
| + int64 content_length,
|
| + const std::string& parent_resource_id,
|
| + const std::string& title,
|
| + const GetResourceEntryCallback& callback);
|
| +
|
| + // Sets the last modified time for an entry specified by |resource_id|.
|
| + // On success, returns HTTP_SUCCESS with the parsed entry.
|
| + // |callback| must not be null.
|
| + void SetLastModifiedTime(const std::string& resource_id,
|
| + const base::Time& last_modified_time,
|
| + const GetResourceEntryCallback& callback);
|
| private:
|
| // Returns a pointer to the entry that matches |resource_id|, or NULL if
|
| // not found.
|
|
|