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

Unified Diff: chrome/app/chrome_watcher_command_line_win.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « chrome/app/chrome_main_delegate.cc ('k') | chrome/app/chrome_watcher_command_line_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_watcher_command_line_win.h
diff --git a/chrome/app/chrome_watcher_command_line_win.h b/chrome/app/chrome_watcher_command_line_win.h
index 3f4c5685648dcb1f34257250027525289d50a161..4c445d980b13ad04e9df395ccba01f6a3c516e7c 100644
--- a/chrome/app/chrome_watcher_command_line_win.h
+++ b/chrome/app/chrome_watcher_command_line_win.h
@@ -6,11 +6,12 @@
#define CHROME_APP_CHROME_WATCHER_COMMAND_LINE_WIN_H_
#include <windows.h>
+
+#include <memory>
#include <vector>
#include "base/command_line.h"
#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
#include "base/win/scoped_handle.h"
// Class for configuring the Chrome watcher process via the command-line. This
@@ -75,7 +76,7 @@ class ChromeWatcherCommandLine {
// If this fails any successfully opened handles will be closed prior to
// return. Returns a ChromeWatcherCommandLine object on success, nullptr
// otherwise.
- static scoped_ptr<ChromeWatcherCommandLine> InterpretCommandLine(
+ static std::unique_ptr<ChromeWatcherCommandLine> InterpretCommandLine(
const base::CommandLine& command_line);
// Accessors for handles. Any handles not taken from this object at the time
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/app/chrome_watcher_command_line_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698