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

Side by Side Diff: chrome/browser/ssl/ssl_error_handler.h

Issue 2642853003: Convert SSLErrorHandler to use the new navigation callbacks. (Closed)
Patch Set: more Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_ 5 #ifndef CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_
6 #define CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_ 6 #define CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const GURL& suggested_url); 119 const GURL& suggested_url);
120 120
121 private: 121 private:
122 // content::NotificationObserver: 122 // content::NotificationObserver:
123 void Observe( 123 void Observe(
124 int type, 124 int type,
125 const content::NotificationSource& source, 125 const content::NotificationSource& source,
126 const content::NotificationDetails& details) override; 126 const content::NotificationDetails& details) override;
127 127
128 // content::WebContentsObserver: 128 // content::WebContentsObserver:
129 void DidStartNavigationToPendingEntry( 129 void DidStartNavigation(
130 const GURL& url, 130 content::NavigationHandle* navigation_handle) override;
131 content::ReloadType reload_type) override;
132 131
133 // content::WebContentsObserver: 132 // content::WebContentsObserver:
134 void NavigationStopped() override; 133 void NavigationStopped() override;
135 134
136 // Deletes the SSLErrorHandler. This method is called when the page 135 // Deletes the SSLErrorHandler. This method is called when the page
137 // load stops or when there is a new navigation. 136 // load stops or when there is a new navigation.
138 void DeleteSSLErrorHandler(); 137 void DeleteSSLErrorHandler();
139 138
140 void HandleCertDateInvalidError(); 139 void HandleCertDateInvalidError();
141 void HandleCertDateInvalidErrorImpl(base::TimeTicks started_handling_error); 140 void HandleCertDateInvalidErrorImpl(base::TimeTicks started_handling_error);
(...skipping 12 matching lines...) Expand all
154 std::unique_ptr<CommonNameMismatchHandler> common_name_mismatch_handler_; 153 std::unique_ptr<CommonNameMismatchHandler> common_name_mismatch_handler_;
155 154
156 std::unique_ptr<SSLCertReporter> ssl_cert_reporter_; 155 std::unique_ptr<SSLCertReporter> ssl_cert_reporter_;
157 156
158 base::WeakPtrFactory<SSLErrorHandler> weak_ptr_factory_; 157 base::WeakPtrFactory<SSLErrorHandler> weak_ptr_factory_;
159 158
160 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); 159 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler);
161 }; 160 };
162 161
163 #endif // CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_ 162 #endif // CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698