Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: components/arc/standalone/service_helper_unittest.cc

Issue 1921973002: Convert //components/[a-e]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/standalone/arc_standalone_bridge_runner.h ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/standalone/service_helper_unittest.cc
diff --git a/components/arc/standalone/service_helper_unittest.cc b/components/arc/standalone/service_helper_unittest.cc
index 4074d4103bdf31a70c4f9928f929d65533a6aca1..a1da8fc8db49604967c73cc0cae74cb6ccb75c49 100644
--- a/components/arc/standalone/service_helper_unittest.cc
+++ b/components/arc/standalone/service_helper_unittest.cc
@@ -7,9 +7,10 @@
#include <signal.h>
#include <unistd.h>
+#include <memory>
+
#include "base/bind.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/test/launcher/unit_test_launcher.h"
@@ -44,9 +45,9 @@ class ServiceHelperTest : public ::testing::Test {
}
protected:
- scoped_ptr<base::MessageLoopForIO> base_loop_;
- scoped_ptr<base::RunLoop> run_loop_;
- scoped_ptr<ServiceHelper> helper_;
+ std::unique_ptr<base::MessageLoopForIO> base_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<ServiceHelper> helper_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceHelperTest);
« no previous file with comments | « components/arc/standalone/arc_standalone_bridge_runner.h ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698