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

Unified Diff: chrome/browser/chromeos/drive/drive_scheduler_unittest.cc

Issue 14235015: Fill JobInfo in DriveScheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/chromeos/drive/drive_scheduler_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
index d32515432765e353b39626bb692ac999fb308beb..0d56e98ff5d08b56f0f184a0a4eddfa6b9e4394e 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
@@ -464,7 +464,7 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularDisabled) {
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
base::FilePath output_file_path;
scheduler_->DownloadFile(
- base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -518,7 +518,7 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxDisabled) {
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
base::FilePath output_file_path;
scheduler_->DownloadFile(
- base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -572,7 +572,7 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularEnabled) {
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
base::FilePath output_file_path;
scheduler_->DownloadFile(
- base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -618,7 +618,7 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxEnabled) {
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
base::FilePath output_file_path;
scheduler_->DownloadFile(
- base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -680,7 +680,7 @@ TEST_F(DriveSchedulerTest, JobInfo) {
google_apis::test_util::CreateCopyResultCallback(&error));
expected_types.insert(TYPE_DOWNLOAD_FILE);
scheduler_->DownloadFile(
- base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("drive/whatever.txt"), // virtual path
temp_dir.path().AppendASCII("whatever.txt"),
GURL("https://file_content_url/"),
DriveClientContext(BACKGROUND),
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.cc ('k') | chrome/browser/chromeos/drive/job_list_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698