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

Unified Diff: mojo/edk/system/data_pipe_impl_unittest.cc

Issue 1350503005: EDK: Some more scoped_ptr -> std::unique_ptr conversions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « mojo/edk/system/channel_test_base.cc ('k') | mojo/edk/system/ipc_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/data_pipe_impl_unittest.cc b/mojo/edk/system/data_pipe_impl_unittest.cc
index 485a0954cc833880d0c9d97345f902d0486bb5ca..3b19c5b8f77eb0346bc2523cbed43db58a4b6d4b 100644
--- a/mojo/edk/system/data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/data_pipe_impl_unittest.cc
@@ -9,10 +9,11 @@
#include <stdint.h>
+#include <memory>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "mojo/edk/embedder/platform_channel_pair.h"
#include "mojo/edk/embedder/simple_platform_support.h"
@@ -180,7 +181,7 @@ class DataPipeImplTest : public testing::Test {
DataPipe* dpp() { return helper_->DataPipeForProducer(); }
DataPipe* dpc() { return helper_->DataPipeForConsumer(); }
- scoped_ptr<Helper> helper_;
+ std::unique_ptr<Helper> helper_;
MOJO_DISALLOW_COPY_AND_ASSIGN(DataPipeImplTest);
};
« no previous file with comments | « mojo/edk/system/channel_test_base.cc ('k') | mojo/edk/system/ipc_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698