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

Unified Diff: chrome/browser/ui/cocoa/certificate_viewer_mac.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/cocoa/certificate_viewer_mac.h
diff --git a/chrome/browser/ui/cocoa/certificate_viewer_mac.h b/chrome/browser/ui/cocoa/certificate_viewer_mac.h
index f33bef2d5db39ae35258f0dcf874b820ef831351..962cc569500ae978a47f0b556e5cf479daedb423 100644
--- a/chrome/browser/ui/cocoa/certificate_viewer_mac.h
+++ b/chrome/browser/ui/cocoa/certificate_viewer_mac.h
@@ -6,8 +6,9 @@
#define CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_H_
+#include <memory>
+
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h"
#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h"
@@ -22,9 +23,9 @@ namespace net {
@private
// The corresponding list of certificates.
base::scoped_nsobject<NSArray> certificates_;
- scoped_ptr<SSLCertificateViewerCocoaBridge> observer_;
+ std::unique_ptr<SSLCertificateViewerCocoaBridge> observer_;
base::scoped_nsobject<SFCertificatePanel> panel_;
- scoped_ptr<ConstrainedWindowMac> constrainedWindow_;
+ std::unique_ptr<ConstrainedWindowMac> constrainedWindow_;
base::scoped_nsobject<NSWindow> overlayWindow_;
BOOL closePending_;
// A copy of the sheet's frame used to restore on show.
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_fullscreen_transition.mm ('k') | chrome/browser/ui/cocoa/cocoa_profile_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698