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

Unified Diff: webkit/blob/blob_url_request_job_unittest.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « webkit/blob/blob_storage_controller.cc ('k') | webkit/blob/local_file_stream_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/blob_url_request_job_unittest.cc
diff --git a/webkit/blob/blob_url_request_job_unittest.cc b/webkit/blob/blob_url_request_job_unittest.cc
index 007d9360e77abf3a9e76225ccad4b60a8bd25088..8b07a4f08f0d5088a69c82e7fb2edec6491d6bf5 100644
--- a/webkit/blob/blob_url_request_job_unittest.cc
+++ b/webkit/blob/blob_url_request_job_unittest.cc
@@ -209,7 +209,7 @@ class BlobURLRequestJobTest : public testing::Test {
file_system_context_->CreateCrackedFileSystemURL(
GURL(kFileSystemURLOrigin),
kFileSystemType,
- FilePath().AppendASCII(filename));
+ base::FilePath().AppendASCII(filename));
fileapi::FileSystemFileUtil* file_util =
file_system_context_->GetFileUtil(kFileSystemType);
@@ -232,7 +232,7 @@ class BlobURLRequestJobTest : public testing::Test {
base::ClosePlatformFile(handle);
base::PlatformFileInfo file_info;
- FilePath platform_path;
+ base::FilePath platform_path;
ASSERT_EQ(base::PLATFORM_FILE_OK,
file_util->GetFileInfo(&context, url, &file_info,
&platform_path));
@@ -297,8 +297,8 @@ class BlobURLRequestJobTest : public testing::Test {
protected:
base::ScopedTempDir temp_dir_;
- FilePath temp_file1_;
- FilePath temp_file2_;
+ base::FilePath temp_file1_;
+ base::FilePath temp_file2_;
base::Time temp_file_modification_time1_;
base::Time temp_file_modification_time2_;
GURL file_system_root_url_;
@@ -330,7 +330,7 @@ TEST_F(BlobURLRequestJobTest, TestGetSimpleFileRequest) {
}
TEST_F(BlobURLRequestJobTest, TestGetLargeFileRequest) {
- FilePath large_temp_file = temp_dir_.path().AppendASCII("LargeBlob.dat");
+ base::FilePath large_temp_file = temp_dir_.path().AppendASCII("LargeBlob.dat");
std::string large_data;
large_data.reserve(kBufferSize * 5);
for (int i = 0; i < kBufferSize * 5; ++i)
@@ -343,7 +343,7 @@ TEST_F(BlobURLRequestJobTest, TestGetLargeFileRequest) {
}
TEST_F(BlobURLRequestJobTest, TestGetNonExistentFileRequest) {
- FilePath non_existent_file =
+ base::FilePath non_existent_file =
temp_file1_.InsertBeforeExtension(FILE_PATH_LITERAL("-na"));
blob_data_->AppendFile(non_existent_file, 0, -1, base::Time());
TestErrorRequest(404);
« no previous file with comments | « webkit/blob/blob_storage_controller.cc ('k') | webkit/blob/local_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698