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

Unified Diff: chrome/browser/google_apis/gdata_wapi_service.cc

Issue 11444024: Clarify the use of the term "Document" in gdata_wapi_operations.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment on DeleteResourceOperation. Created 8 years 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_operations_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/gdata_wapi_service.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_service.cc b/chrome/browser/google_apis/gdata_wapi_service.cc
index 8c8f42d5956fcca4a379ba02700ae82dd15790f2..e08d2be14a1b5628fcf89fb283a295a70669fda8 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.cc
+++ b/chrome/browser/google_apis/gdata_wapi_service.cc
@@ -165,7 +165,7 @@ void GDataWapiService::GetDocumentEntry(
DCHECK(!callback.is_null());
runner_->StartOperationWithRetry(
- new GetDocumentEntryOperation(operation_registry(),
+ new GetResourceEntryOperation(operation_registry(),
url_request_context_getter_,
url_generator_,
resource_id,
@@ -234,7 +234,7 @@ void GDataWapiService::DeleteDocument(
DCHECK(!callback.is_null());
runner_->StartOperationWithRetry(
- new DeleteDocumentOperation(operation_registry(),
+ new DeleteResourceOperation(operation_registry(),
url_request_context_getter_,
callback,
document_url));
@@ -264,12 +264,12 @@ void GDataWapiService::CopyDocument(
DCHECK(!callback.is_null());
runner_->StartOperationWithRetry(
- new CopyDocumentOperation(operation_registry(),
- url_request_context_getter_,
- url_generator_,
- callback,
- resource_id,
- new_name));
+ new CopyHostedDocumentOperation(operation_registry(),
+ url_request_context_getter_,
+ url_generator_,
+ callback,
+ resource_id,
+ new_name));
}
void GDataWapiService::RenameResource(
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698