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

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

Issue 12282019: Disable "using base::FilePath" on Linux since it now compiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « base/process_linux.cc ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d99158809b261501123d6d42968193f0772e0e9e..becfcdc5329097ece4bf51388d450b5c43198bd3 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
@@ -403,11 +403,12 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularDisabled) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const GURL kContentUrl("https://file_content_url/");
- const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
+ const base::FilePath kOutputFilePath =
+ temp_dir.path().AppendASCII("whatever.txt");
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
- FilePath output_file_path;
+ base::FilePath output_file_path;
scheduler_->DownloadFile(
- FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -460,11 +461,12 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxDisabled) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const GURL kContentUrl("https://file_content_url/");
- const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
+ const base::FilePath kOutputFilePath =
+ temp_dir.path().AppendASCII("whatever.txt");
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
- FilePath output_file_path;
+ base::FilePath output_file_path;
scheduler_->DownloadFile(
- FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -517,11 +519,12 @@ TEST_F(DriveSchedulerTest, DownloadFileCellularEnabled) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const GURL kContentUrl("https://file_content_url/");
- const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
+ const base::FilePath kOutputFilePath =
+ temp_dir.path().AppendASCII("whatever.txt");
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
- FilePath output_file_path;
+ base::FilePath output_file_path;
scheduler_->DownloadFile(
- FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
@@ -566,11 +569,12 @@ TEST_F(DriveSchedulerTest, DownloadFileWimaxEnabled) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const GURL kContentUrl("https://file_content_url/");
- const FilePath kOutputFilePath = temp_dir.path().AppendASCII("whatever.txt");
+ const base::FilePath kOutputFilePath =
+ temp_dir.path().AppendASCII("whatever.txt");
google_apis::GDataErrorCode download_error = google_apis::GDATA_OTHER_ERROR;
- FilePath output_file_path;
+ base::FilePath output_file_path;
scheduler_->DownloadFile(
- FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
+ base::FilePath::FromUTF8Unsafe("/drive/whatever.txt"), // virtual path
kOutputFilePath,
kContentUrl,
DriveClientContext(BACKGROUND),
« no previous file with comments | « base/process_linux.cc ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698