summaryrefslogtreecommitdiffstats
path: root/remoting/host/json_host_config_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/json_host_config_unittest.cc')
-rw-r--r--remoting/host/json_host_config_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/remoting/host/json_host_config_unittest.cc b/remoting/host/json_host_config_unittest.cc
index 4aedf3d..76f2912 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());