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

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

Issue 13927002: Add callback for upload progress in Drive service and operation layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_wapi_operations_unittest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
index 1a15c622b1aa4c448095eca57b92e80e9fe9d1cd..9532b5041a918bd1773f3a1a5e6f4c7a0a4ff650 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
@@ -894,6 +894,7 @@ TEST_F(GDataWapiOperationsTest, UploadNewFile) {
CreateComposedCallback(
base::Bind(&test_util::RunAndQuit),
test_util::CreateCopyResultCallback(&response, &new_entry)),
+ ProgressCallback(),
UPLOAD_NEW_FILE,
base::FilePath::FromUTF8Unsafe("drive/newfile.txt"),
upload_url,
@@ -1048,6 +1049,7 @@ TEST_F(GDataWapiOperationsTest, UploadNewLargeFile) {
CreateComposedCallback(
base::Bind(&test_util::RunAndQuit),
test_util::CreateCopyResultCallback(&response, &new_entry)),
+ ProgressCallback(),
UPLOAD_NEW_FILE,
base::FilePath::FromUTF8Unsafe("drive/newfile.txt"),
upload_url,
@@ -1192,6 +1194,7 @@ TEST_F(GDataWapiOperationsTest, UploadNewEmptyFile) {
CreateComposedCallback(
base::Bind(&test_util::RunAndQuit),
test_util::CreateCopyResultCallback(&response, &new_entry)),
+ ProgressCallback(),
UPLOAD_NEW_FILE,
base::FilePath::FromUTF8Unsafe("drive/newfile.txt"),
upload_url,
@@ -1283,6 +1286,7 @@ TEST_F(GDataWapiOperationsTest, UploadExistingFile) {
CreateComposedCallback(
base::Bind(&test_util::RunAndQuit),
test_util::CreateCopyResultCallback(&response, &new_entry)),
+ ProgressCallback(),
UPLOAD_EXISTING_FILE,
base::FilePath::FromUTF8Unsafe("drive/existingfile.txt"),
upload_url,
@@ -1376,6 +1380,7 @@ TEST_F(GDataWapiOperationsTest, UploadExistingFileWithETag) {
CreateComposedCallback(
base::Bind(&test_util::RunAndQuit),
test_util::CreateCopyResultCallback(&response, &new_entry)),
+ ProgressCallback(),
UPLOAD_EXISTING_FILE,
base::FilePath::FromUTF8Unsafe("drive/existingfile.txt"),
upload_url,
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.cc ('k') | chrome/browser/google_apis/gdata_wapi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698