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

Side by Side Diff: ios/chrome/browser/ssl/ios_ssl_blocking_page.h

Issue 1861593005: Convert //ios 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ 6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 static bool IsOverridable(int options_mask); 64 static bool IsOverridable(int options_mask);
65 65
66 base::Callback<void(bool)> callback_; 66 base::Callback<void(bool)> callback_;
67 const net::SSLInfo ssl_info_; 67 const net::SSLInfo ssl_info_;
68 const bool overridable_; // The UI allows the user to override the error. 68 const bool overridable_; // The UI allows the user to override the error.
69 69
70 // The user previously allowed a bad certificate, but the decision has now 70 // The user previously allowed a bad certificate, but the decision has now
71 // expired. 71 // expired.
72 const bool expired_but_previously_allowed_; 72 const bool expired_but_previously_allowed_;
73 73
74 scoped_ptr<IOSChromeControllerClient> controller_; 74 std::unique_ptr<IOSChromeControllerClient> controller_;
75 scoped_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; 75 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); 77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage);
78 }; 78 };
79 79
80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ 80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h ('k') | ios/chrome/browser/ssl/ios_ssl_blocking_page.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698