Index: chrome/browser/google_apis/mock_drive_service.h |
diff --git a/chrome/browser/google_apis/mock_drive_service.h b/chrome/browser/google_apis/mock_drive_service.h |
index 4db9b7eb423f72480e5121aaf113ea47e698803e..c07bb09f7bf4d2a7c9e767c1f7906ba0b608484b 100644 |
--- a/chrome/browser/google_apis/mock_drive_service.h |
+++ b/chrome/browser/google_apis/mock_drive_service.h |
@@ -68,9 +68,8 @@ class MockDriveService : public DriveServiceInterface { |
void(const GURL& parent_content_url, |
const GURL& resource_url, |
const EntryActionCallback& callback)); |
- MOCK_METHOD4(RemoveResourceFromDirectory, |
+ MOCK_METHOD3(RemoveResourceFromDirectory, |
void(const GURL& parent_content_url, |
- const GURL& resource_url, |
const std::string& resource_id, |
const EntryActionCallback& callback)); |
MOCK_METHOD3(AddNewDirectory, |
@@ -137,7 +136,7 @@ class MockDriveService : public DriveServiceInterface { |
// value of |account_metadata_|. |
void GetAccountMetadataStub(const GetDataCallback& callback); |
- // Will call |callback| with HTTP_SUCCESS and the |document_url|. |
+ // Will call |callback| with HTTP_SUCCESS. |
void DeleteDocumentStub(const GURL& document_url, |
const EntryActionCallback& callback); |
@@ -156,21 +155,20 @@ class MockDriveService : public DriveServiceInterface { |
const FilePath::StringType& new_name, |
const GetDataCallback& callback); |
- // Will call |callback| with HTTP_SUCCESS and the |document_url|. |
+ // Will call |callback| with HTTP_SUCCESS. |
void RenameResourceStub(const GURL& document_url, |
const FilePath::StringType& new_name, |
const EntryActionCallback& callback); |
- // Will call |callback| with HTTP_SUCCESS and the |resource_url|. |
+ // Will call |callback| with HTTP_SUCCESS. |
void AddResourceToDirectoryStub( |
const GURL& parent_content_url, |
const GURL& resource_url, |
const EntryActionCallback& callback); |
- // Will call |callback| with HTTP_SUCCESS and the |resource_url|. |
+ // Will call |callback| with HTTP_SUCCESS. |
void RemoveResourceFromDirectoryStub( |
const GURL& parent_content_url, |
- const GURL& resource_url, |
const std::string& resource_id, |
const EntryActionCallback& callback); |