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

Unified Diff: content/shell/browser/shell_javascript_dialog_manager.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/shell/browser/shell_devtools_manager_delegate.cc ('k') | content/shell/browser/shell_net_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_javascript_dialog_manager.h
diff --git a/content/shell/browser/shell_javascript_dialog_manager.h b/content/shell/browser/shell_javascript_dialog_manager.h
index fbeefbb4963d446029e94e83badb54d740fb9df7..dd2bc6737b0e64373cb1664672a4643f0ef14926 100644
--- a/content/shell/browser/shell_javascript_dialog_manager.h
+++ b/content/shell/browser/shell_javascript_dialog_manager.h
@@ -5,10 +5,11 @@
#ifndef CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_
#define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "content/public/browser/javascript_dialog_manager.h"
@@ -52,7 +53,7 @@ class ShellJavaScriptDialogManager : public JavaScriptDialogManager {
private:
#if defined(OS_MACOSX) || defined(OS_WIN)
// The dialog being shown. No queueing.
- scoped_ptr<ShellJavaScriptDialog> dialog_;
+ std::unique_ptr<ShellJavaScriptDialog> dialog_;
#else
// TODO: implement ShellJavaScriptDialog for other platforms, drop this #if
#endif
« no previous file with comments | « content/shell/browser/shell_devtools_manager_delegate.cc ('k') | content/shell/browser/shell_net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698