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

Unified Diff: remoting/host/json_host_config_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 | « remoting/host/json_host_config.cc ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/json_host_config_unittest.cc
diff --git a/remoting/host/json_host_config_unittest.cc b/remoting/host/json_host_config_unittest.cc
index 4aedf3df216a101061f8fdad01507b6d520be3a6..76f2912f49bcbe66002c43816e1bf502814de894 100644
--- a/remoting/host/json_host_config_unittest.cc
+++ b/remoting/host/json_host_config_unittest.cc
@@ -24,7 +24,7 @@ const char* kTestConfig =
class JsonHostConfigTest : public testing::Test {
protected:
- static void WriteTestFile(const FilePath& filename) {
+ static void WriteTestFile(const base::FilePath& filename) {
file_util::WriteFile(filename, kTestConfig, std::strlen(kTestConfig));
}
@@ -34,7 +34,7 @@ class JsonHostConfigTest : public testing::Test {
TEST_F(JsonHostConfigTest, InvalidFile) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
- FilePath non_existent_file =
+ base::FilePath non_existent_file =
test_dir_.path().AppendASCII("non_existent.json");
JsonHostConfig target(non_existent_file);
EXPECT_FALSE(target.Read());
@@ -42,7 +42,7 @@ TEST_F(JsonHostConfigTest, InvalidFile) {
TEST_F(JsonHostConfigTest, Read) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
- FilePath test_file = test_dir_.path().AppendASCII("read.json");
+ base::FilePath test_file = test_dir_.path().AppendASCII("read.json");
WriteTestFile(test_file);
JsonHostConfig target(test_file);
ASSERT_TRUE(target.Read());
@@ -65,7 +65,7 @@ TEST_F(JsonHostConfigTest, Read) {
TEST_F(JsonHostConfigTest, Write) {
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
- FilePath test_file = test_dir_.path().AppendASCII("write.json");
+ base::FilePath test_file = test_dir_.path().AppendASCII("write.json");
WriteTestFile(test_file);
JsonHostConfig target(test_file);
ASSERT_TRUE(target.Read());
« no previous file with comments | « remoting/host/json_host_config.cc ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698