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

Unified Diff: remoting/host/desktop_resizer.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/desktop_process_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_resizer.h
diff --git a/remoting/host/desktop_resizer.h b/remoting/host/desktop_resizer.h
index 0b103fcc2d4488cadab7b416f4d165573b0b6c02..e08dcd054e990b409ae4b9e6a051a7ca79b2a371 100644
--- a/remoting/host/desktop_resizer.h
+++ b/remoting/host/desktop_resizer.h
@@ -6,8 +6,8 @@
#define REMOTING_HOST_DESKTOP_RESIZER_H_
#include <list>
+#include <memory>
-#include "base/memory/scoped_ptr.h"
#include "remoting/host/screen_resolution.h"
namespace remoting {
@@ -17,7 +17,7 @@ class DesktopResizer {
virtual ~DesktopResizer() {}
// Create a platform-specific DesktopResizer instance.
- static scoped_ptr<DesktopResizer> Create();
+ static std::unique_ptr<DesktopResizer> Create();
// Return the current resolution of the desktop.
virtual ScreenResolution GetCurrentResolution() = 0;
« no previous file with comments | « remoting/host/desktop_process_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698