update_engine: migrate from base::MakeUnique to std::make_unique

base::MakeUnique is being deprecated as we can now use std::make_unique
when compiling code in the C++14 mode.

BUG=chromium:769107
CQ-DEPEND=CL:669672
TEST=Run unit tests.

Change-Id: I82f76647239b1eb3b98b19f6479788ffd86ce756
Reviewed-on: https://chromium-review.googlesource.com/716826
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
diff --git a/update_attempter.cc b/update_attempter.cc
index 9b34365..f8161a4 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -28,7 +28,6 @@
 #include <base/bind.h>
 #include <base/files/file_util.h>
 #include <base/logging.h>
-#include <base/memory/ptr_util.h>
 #include <base/rand_util.h>
 #include <base/strings/string_util.h>
 #include <base/strings/stringprintf.h>
@@ -603,7 +602,7 @@
       new OmahaRequestAction(
           system_state_,
           new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted),
-          base::MakeUnique<LibcurlHttpFetcher>(GetProxyResolver(),
+          std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(),
                                                system_state_->hardware()),
           false));
 
@@ -622,7 +621,7 @@
       new OmahaRequestAction(
           system_state_,
           new OmahaEvent(OmahaEvent::kTypeUpdateDownloadFinished),
-          base::MakeUnique<LibcurlHttpFetcher>(GetProxyResolver(),
+          std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(),
                                                system_state_->hardware()),
           false));
   shared_ptr<FilesystemVerifierAction> filesystem_verifier_action(
@@ -631,7 +630,7 @@
       new OmahaRequestAction(
           system_state_,
           new OmahaEvent(OmahaEvent::kTypeUpdateComplete),
-          base::MakeUnique<LibcurlHttpFetcher>(GetProxyResolver(),
+          std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(),
                                                system_state_->hardware()),
           false));
 
@@ -1276,7 +1275,7 @@
       new OmahaRequestAction(
           system_state_,
           error_event_.release(),  // Pass ownership.
-          base::MakeUnique<LibcurlHttpFetcher>(GetProxyResolver(),
+          std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(),
                                                system_state_->hardware()),
           false));
   actions_.push_back(shared_ptr<AbstractAction>(error_event_action));
@@ -1347,7 +1346,7 @@
     shared_ptr<OmahaRequestAction> ping_action(new OmahaRequestAction(
         system_state_,
         nullptr,
-        base::MakeUnique<LibcurlHttpFetcher>(GetProxyResolver(),
+        std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(),
                                              system_state_->hardware()),
         true));
     actions_.push_back(shared_ptr<OmahaRequestAction>(ping_action));