Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SSL_CHROME_SECURITY_STATE_MODEL_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_SSL_CHROME_SECURITY_STATE_MODEL_DELEGATE_H_ | |
| 7 | |
| 8 #include "chrome/browser/ssl/security_state_model_delegate.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class WebContents; | |
| 12 } // namespace content | |
| 13 | |
| 14 // Uses a WebContents to provide a SecurityStateModel with the | |
| 15 // information that it needs to determine the page's security status. | |
| 16 class ChromeSecurityStateModelDelegate : public SecurityStateModelDelegate { | |
| 17 public: | |
| 18 explicit ChromeSecurityStateModelDelegate(content::WebContents* web_contents); | |
| 19 ~ChromeSecurityStateModelDelegate() override; | |
| 20 | |
| 21 // SecurityStateModelDelegate overrides | |
|
blundell
2015/11/23 16:06:17
nit:
// SecurityStateModelDelegate:
estark
2015/11/23 16:23:39
Done.
| |
| 22 bool RetrieveCert(scoped_refptr<net::X509Certificate>* cert) override; | |
| 23 bool UsedKnownMITMCertificate() override; | |
| 24 | |
| 25 private: | |
| 26 content::WebContents* web_contents_; | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_SSL_CHROME_SECURITY_STATE_MODEL_DELEGATE_H_ | |
| OLD | NEW |