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

Unified Diff: remoting/client/chromoting_client_runtime_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/client/chromoting_client_runtime.cc ('k') | remoting/client/client_status_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client_runtime_unittest.cc
diff --git a/remoting/client/chromoting_client_runtime_unittest.cc b/remoting/client/chromoting_client_runtime_unittest.cc
index 39f240fe16199c7fa0c19f68b446fe61c28712df..e56f7482790146e004a3b49a2ed57d278d463cee 100644
--- a/remoting/client/chromoting_client_runtime_unittest.cc
+++ b/remoting/client/chromoting_client_runtime_unittest.cc
@@ -15,13 +15,13 @@ namespace remoting {
// A simple test that starts and stop the runtime. This tests the runtime
// operates properly and all threads and message loops are valid.
TEST(ChromotingClientRuntimeTest, StartAndStop) {
- scoped_ptr<base::MessageLoopForUI> ui_loop;
+ std::unique_ptr<base::MessageLoopForUI> ui_loop;
ui_loop.reset(new base::MessageLoopForUI());
#if defined(OS_IOS)
ui_loop->Attach();
#endif
- scoped_ptr<ChromotingClientRuntime> runtime =
+ std::unique_ptr<ChromotingClientRuntime> runtime =
ChromotingClientRuntime::Create(ui_loop.get());
ASSERT_TRUE(runtime);
« no previous file with comments | « remoting/client/chromoting_client_runtime.cc ('k') | remoting/client/client_status_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698