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

Unified Diff: remoting/client/chromoting_client_runtime.h

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.cc ('k') | remoting/client/chromoting_client_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client_runtime.h
diff --git a/remoting/client/chromoting_client_runtime.h b/remoting/client/chromoting_client_runtime.h
index b9c45b68f8696f79213ed3ae6c772d1289d423e0..69efb0dfc2843472a20b879d686420c6a69274aa 100644
--- a/remoting/client/chromoting_client_runtime.h
+++ b/remoting/client/chromoting_client_runtime.h
@@ -5,8 +5,9 @@
#ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_RUNTIME_H_
#define REMOTING_CLIENT_CHROMOTING_CLIENT_RUNTIME_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "net/url_request/url_request_context_getter.h"
#include "remoting/base/auto_thread.h"
@@ -28,17 +29,17 @@ class ChromotingClientRuntime {
//
// base::MessageLoopForUI *ui_loop = new base::MessageLoopForUI();
// ui_loop_->Start();
- // scoped_ptr<ChromotingClientRuntime> runtime =
+ // std::unique_ptr<ChromotingClientRuntime> runtime =
// ChromotingClientRuntime::Create(ui_loop);
//
// On iOS we created a new message loop and now attach it.
//
// base::MessageLoopForUI *ui_loop = new base::MessageLoopForUI();
// ui_loop_->Attach();
- // scoped_ptr<ChromotingClientRuntime> runtime =
+ // std::unique_ptr<ChromotingClientRuntime> runtime =
// ChromotingClientRuntime::Create(ui_loop);
//
- static scoped_ptr<ChromotingClientRuntime> Create(
+ static std::unique_ptr<ChromotingClientRuntime> Create(
base::MessageLoopForUI* ui_loop);
~ChromotingClientRuntime();
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/chromoting_client_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698