summaryrefslogtreecommitdiff
path: root/update_manager/update_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'update_manager/update_manager_unittest.cc')
-rw-r--r--update_manager/update_manager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/update_manager/update_manager_unittest.cc b/update_manager/update_manager_unittest.cc
index 9e21716d..b263fc8f 100644
--- a/update_manager/update_manager_unittest.cc
+++ b/update_manager/update_manager_unittest.cc
@@ -5,13 +5,13 @@
#include <unistd.h>
#include <algorithm>
+#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <base/bind.h>
-#include <base/memory/scoped_ptr.h>
#include <base/time/time.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
@@ -33,6 +33,7 @@ using chromeos_update_engine::FakeClock;
using std::pair;
using std::string;
using std::tuple;
+using std::unique_ptr;
using std::vector;
using testing::Return;
using testing::StrictMock;
@@ -68,7 +69,7 @@ class UmUpdateManagerTest : public ::testing::Test {
FakeState* fake_state_; // Owned by the umut_.
FakeClock fake_clock_;
- scoped_ptr<UpdateManager> umut_;
+ unique_ptr<UpdateManager> umut_;
};
// The FailingPolicy implements a single method and make it always fail. This