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

Unified Diff: chrome/browser/google_apis/mock_drive_service.h

Issue 11419248: google_apis: Remove resource_url from RemoveResourceFromDirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/google_apis/gdata_wapi_service.cc ('k') | chrome/browser/google_apis/mock_drive_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | chrome/browser/google_apis/mock_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698