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

Unified Diff: mojo/edk/system/message_in_transit_test_utils.h

Issue 1353683005: EDK: Convert remaining scoped_ptr -> std::unique_ptr in //mojo/edk/system. (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/message_in_transit_queue.h ('k') | mojo/edk/system/message_in_transit_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_in_transit_test_utils.h
diff --git a/mojo/edk/system/message_in_transit_test_utils.h b/mojo/edk/system/message_in_transit_test_utils.h
index 283783871ff76ad504db40e00b07d28b15861620..ce971bb193ad9c4006304132fb1781b888a999e9 100644
--- a/mojo/edk/system/message_in_transit_test_utils.h
+++ b/mojo/edk/system/message_in_transit_test_utils.h
@@ -5,7 +5,8 @@
#ifndef MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
#define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "mojo/edk/system/message_in_transit.h"
namespace mojo {
@@ -17,7 +18,7 @@ namespace test {
// |MessageInTransit::Subtype::ENDPOINT_CLIENT_DATA|, and contain data
// associated with |id| (so that test messages with different |id|s are
// distinguishable).
-scoped_ptr<MessageInTransit> MakeTestMessage(unsigned id);
+std::unique_ptr<MessageInTransit> MakeTestMessage(unsigned id);
// Verifies a test message: ASSERTs that |message| is non-null, and EXPECTs that
// it looks like a message created using |MakeTestMessage(id)| (see above).
« no previous file with comments | « mojo/edk/system/message_in_transit_queue.h ('k') | mojo/edk/system/message_in_transit_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698