Index: remoting/host/host_config_unittest.cc |
diff --git a/remoting/host/host_config_unittest.cc b/remoting/host/host_config_unittest.cc |
index 6203c7f08aacc456737e3d827fdc594263c24cb2..c082491728917402b01a79938383a6e6ec691486 100644 |
--- a/remoting/host/host_config_unittest.cc |
+++ b/remoting/host/host_config_unittest.cc |
@@ -52,7 +52,8 @@ TEST_F(HostConfigTest, Read) { |
ASSERT_TRUE(test_dir_.CreateUniqueTempDir()); |
base::FilePath test_file = test_dir_.path().AppendASCII("read.json"); |
WriteTestFile(test_file); |
- scoped_ptr<base::DictionaryValue> target(HostConfigFromJsonFile(test_file)); |
+ std::unique_ptr<base::DictionaryValue> target( |
+ HostConfigFromJsonFile(test_file)); |
ASSERT_TRUE(target); |
std::string value; |
@@ -75,7 +76,8 @@ TEST_F(HostConfigTest, Write) { |
base::FilePath test_file = test_dir_.path().AppendASCII("write.json"); |
WriteTestFile(test_file); |
- scoped_ptr<base::DictionaryValue> target(HostConfigFromJsonFile(test_file)); |
+ std::unique_ptr<base::DictionaryValue> target( |
+ HostConfigFromJsonFile(test_file)); |
ASSERT_TRUE(target); |
std::string new_refresh_token_value = "NEW_REFRESH_TOKEN"; |
@@ -83,7 +85,8 @@ TEST_F(HostConfigTest, Write) { |
ASSERT_TRUE(HostConfigToJsonFile(*target, test_file)); |
// Now read the file again and check that the value has been written. |
- scoped_ptr<base::DictionaryValue> reader(HostConfigFromJsonFile(test_file)); |
+ std::unique_ptr<base::DictionaryValue> reader( |
+ HostConfigFromJsonFile(test_file)); |
ASSERT_TRUE(reader); |
std::string value; |