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

Unified Diff: remoting/host/host_window.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/host/host_status_logger_unittest.cc ('k') | remoting/host/host_window_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_window.h
diff --git a/remoting/host/host_window.h b/remoting/host/host_window.h
index 03d5b001c7414501f12f9a315cf595c92d59813b..0a2e309c7168b263313a5b90d02c3e8d5c410468 100644
--- a/remoting/host/host_window.h
+++ b/remoting/host/host_window.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_HOST_HOST_WINDOW_H_
#define REMOTING_HOST_HOST_WINDOW_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
@@ -20,10 +21,10 @@ class HostWindow : public base::NonThreadSafe {
virtual ~HostWindow() {}
// Creates a platform-specific instance of the continue window.
- static scoped_ptr<HostWindow> CreateContinueWindow();
+ static std::unique_ptr<HostWindow> CreateContinueWindow();
// Creates a platform-specific instance of the disconnect window.
- static scoped_ptr<HostWindow> CreateDisconnectWindow();
+ static std::unique_ptr<HostWindow> CreateDisconnectWindow();
// Starts the UI state machine. |client_session_control| will be used to
// notify the caller about the local user's actions.
« no previous file with comments | « remoting/host/host_status_logger_unittest.cc ('k') | remoting/host/host_window_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698