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

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

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh 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/drive_uploader_unittest.cc
diff --git a/chrome/browser/google_apis/drive_uploader_unittest.cc b/chrome/browser/google_apis/drive_uploader_unittest.cc
index 5f3bb622e6ab8b84373e90009f8f8bce85628873..f522a87ce7bd25411e42b895148f5bf77cad0fb2 100644
--- a/chrome/browser/google_apis/drive_uploader_unittest.cc
+++ b/chrome/browser/google_apis/drive_uploader_unittest.cc
@@ -298,7 +298,7 @@ TEST_F(DriveUploaderTest, UploadExisting0KB) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
local_path,
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
@@ -330,7 +330,7 @@ TEST_F(DriveUploaderTest, UploadExisting512KB) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
local_path,
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
@@ -363,7 +363,7 @@ TEST_F(DriveUploaderTest, UploadExisting1234KB) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
local_path,
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
@@ -429,7 +429,7 @@ TEST_F(DriveUploaderTest, InitiateUploadFail) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
local_path,
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
@@ -508,7 +508,7 @@ TEST_F(DriveUploaderTest, ResumeUploadFail) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
local_path,
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
@@ -528,7 +528,7 @@ TEST_F(DriveUploaderTest, NonExistingSourceFile) {
base::FilePath::FromUTF8Unsafe(kTestDrivePath),
temp_dir_.path().AppendASCII("_this_path_should_not_exist_"),
kTestMimeType,
- "", // etag
+ std::string(), // etag
test_util::CreateCopyResultCallback(
&error, &drive_path, &file_path, &resource_entry));
test_util::RunBlockingPoolTask();
« no previous file with comments | « chrome/browser/google_apis/drive_api_url_generator_unittest.cc ('k') | chrome/browser/google_apis/fake_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698