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

Unified Diff: chrome/browser/ui/android/connection_info_popup_android.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: chrome/browser/ui/android/connection_info_popup_android.h
diff --git a/chrome/browser/ui/android/connection_info_popup_android.h b/chrome/browser/ui/android/connection_info_popup_android.h
index 1055ed7f39bb5649f34bc5f3f83d93355369a758..00203a46263cde510503cf7b5f77f4675d0adf9c 100644
--- a/chrome/browser/ui/android/connection_info_popup_android.h
+++ b/chrome/browser/ui/android/connection_info_popup_android.h
@@ -7,9 +7,10 @@
#include <jni.h>
+#include <memory>
+
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/website_settings/website_settings_ui.h"
namespace content {
@@ -45,7 +46,7 @@ class ConnectionInfoPopupAndroid : public WebsiteSettingsUI {
private:
// The presenter that controlls the Website Settings UI.
- scoped_ptr<WebsiteSettings> presenter_;
+ std::unique_ptr<WebsiteSettings> presenter_;
// The java prompt implementation.
base::android::ScopedJavaGlobalRef<jobject> popup_jobject_;

Powered by Google App Engine
This is Rietveld 408576698