Index: chromecast/base/error_codes_unittest.cc |
diff --git a/chromecast/base/error_codes_unittest.cc b/chromecast/base/error_codes_unittest.cc |
index ef9c1924f8572391e30b8249e6347c92fc16b30f..42f3604907846dad78be13661d7791117af34a64 100644 |
--- a/chromecast/base/error_codes_unittest.cc |
+++ b/chromecast/base/error_codes_unittest.cc |
@@ -2,13 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "chromecast/base/error_codes.h" |
+ |
+#include <memory> |
+ |
#include "base/base_paths.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/test/scoped_path_override.h" |
-#include "chromecast/base/error_codes.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace chromecast { |
@@ -29,7 +31,7 @@ class ErrorCodesTest : public testing::Test { |
private: |
base::ScopedTempDir fake_home_dir_; |
- scoped_ptr<base::ScopedPathOverride> path_override_; |
+ std::unique_ptr<base::ScopedPathOverride> path_override_; |
}; |
TEST_F(ErrorCodesTest, GetInitialErrorCodeReturnsNoErrorIfMissingFile) { |