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

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

Issue 10939011: Reland "Revert 156830 - drive: Stop exposing operation_registry() from DriveServiceInterface" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months 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
Index: chrome/browser/google_apis/gdata_operations.cc
diff --git a/chrome/browser/google_apis/gdata_operations.cc b/chrome/browser/google_apis/gdata_operations.cc
index 470e03c27a5d43ad40f3f633a8ca4f6b9deefacc..046671d9f4d0ca177101c14a72eb53ea4398c60b 100644
--- a/chrome/browser/google_apis/gdata_operations.cc
+++ b/chrome/browser/google_apis/gdata_operations.cc
@@ -294,7 +294,7 @@ DownloadFileOperation::DownloadFileOperation(
const FilePath& virtual_path,
const FilePath& output_file_path)
: UrlFetchOperationBase(registry,
- OperationRegistry::OPERATION_DOWNLOAD,
+ OPERATION_DOWNLOAD,
virtual_path),
download_action_callback_(download_action_callback),
get_content_callback_(get_content_callback),
@@ -690,7 +690,7 @@ InitiateUploadOperation::InitiateUploadOperation(
const InitiateUploadCallback& callback,
const InitiateUploadParams& params)
: UrlFetchOperationBase(registry,
- OperationRegistry::OPERATION_UPLOAD,
+ OPERATION_UPLOAD,
params.virtual_path),
callback_(callback),
params_(params),
@@ -795,7 +795,7 @@ ResumeUploadOperation::ResumeUploadOperation(
const ResumeUploadCallback& callback,
const ResumeUploadParams& params)
: UrlFetchOperationBase(registry,
- OperationRegistry::OPERATION_UPLOAD,
+ OPERATION_UPLOAD,
params.virtual_path),
callback_(callback),
params_(params),
@@ -879,7 +879,7 @@ void ResumeUploadOperation::NotifyStartToOperationRegistry() {
void ResumeUploadOperation::NotifySuccessToOperationRegistry() {
if (last_chunk_completed_)
- NotifyFinish(OperationRegistry::OPERATION_COMPLETED);
+ NotifyFinish(OPERATION_COMPLETED);
else
NotifySuspend();
}
« no previous file with comments | « chrome/browser/chromeos/system/ash_system_tray_delegate.cc ('k') | chrome/browser/google_apis/gdata_operations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698