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

Unified Diff: webkit/blob/local_file_stream_reader_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/local_file_stream_reader.cc ('k') | webkit/blob/shareable_file_reference.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/local_file_stream_reader_unittest.cc
diff --git a/webkit/blob/local_file_stream_reader_unittest.cc b/webkit/blob/local_file_stream_reader_unittest.cc
index 3aaf0050f7a9a7fe40cb6138b4a9c8f7c827c2cc..fa959b3ba1b27f4090c5e268a350ed586180b5ae 100644
--- a/webkit/blob/local_file_stream_reader_unittest.cc
+++ b/webkit/blob/local_file_stream_reader_unittest.cc
@@ -81,7 +81,7 @@ class LocalFileStreamReaderTest : public testing::Test {
protected:
LocalFileStreamReader* CreateFileReader(
- const FilePath& path,
+ const base::FilePath& path,
int64 initial_offset,
const base::Time& expected_modification_time) {
return new LocalFileStreamReader(
@@ -103,8 +103,8 @@ class LocalFileStreamReaderTest : public testing::Test {
return file_thread_.message_loop_proxy().get();
}
- FilePath test_dir() const { return dir_.path(); }
- FilePath test_path() const { return dir_.path().AppendASCII("test"); }
+ base::FilePath test_dir() const { return dir_.path(); }
+ base::FilePath test_path() const { return dir_.path().AppendASCII("test"); }
base::Time test_file_modification_time() const {
return test_file_modification_time_;
}
@@ -123,7 +123,7 @@ class LocalFileStreamReaderTest : public testing::Test {
};
TEST_F(LocalFileStreamReaderTest, NonExistent) {
- FilePath nonexistent_path = test_dir().AppendASCII("nonexistent");
+ base::FilePath nonexistent_path = test_dir().AppendASCII("nonexistent");
scoped_ptr<LocalFileStreamReader> reader(
CreateFileReader(nonexistent_path, 0, base::Time()));
int result = 0;
@@ -134,7 +134,7 @@ TEST_F(LocalFileStreamReaderTest, NonExistent) {
}
TEST_F(LocalFileStreamReaderTest, Empty) {
- FilePath empty_path = test_dir().AppendASCII("empty");
+ base::FilePath empty_path = test_dir().AppendASCII("empty");
base::PlatformFileError error = base::PLATFORM_FILE_OK;
base::PlatformFile file = base::CreatePlatformFile(
empty_path,
« no previous file with comments | « webkit/blob/local_file_stream_reader.cc ('k') | webkit/blob/shareable_file_reference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698