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

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

Issue 1470813002: Add SecurityStateModelClient interface and implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
(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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ssl/chrome_security_state_model_delegate.cc » ('j') | chrome/browser/ssl/security_state_model.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698