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

Side by Side Diff: content/browser/ssl/ssl_policy.h

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios Created 4 years, 3 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 | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_SSL_SSL_POLICY_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_POLICY_H_
6 #define CONTENT_BROWSER_SSL_SSL_POLICY_H_ 6 #define CONTENT_BROWSER_SSL_SSL_POLICY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 23 matching lines...) Expand all
34 34
35 // An error occurred with the certificate in an SSL connection. 35 // An error occurred with the certificate in an SSL connection.
36 void OnCertError(std::unique_ptr<SSLErrorHandler> handler); 36 void OnCertError(std::unique_ptr<SSLErrorHandler> handler);
37 37
38 void DidRunInsecureContent(NavigationEntryImpl* entry, 38 void DidRunInsecureContent(NavigationEntryImpl* entry,
39 const GURL& security_origin); 39 const GURL& security_origin);
40 40
41 void DidRunContentWithCertErrors(NavigationEntryImpl* entry, 41 void DidRunContentWithCertErrors(NavigationEntryImpl* entry,
42 const GURL& security_origin); 42 const GURL& security_origin);
43 43
44 // We have started a resource request for |url| with the given |cert_id| and 44 // We have started a resource request for |url| and if it has a certificate
45 // |cert_status|. 45 // and |cert_status|.
46 void OnRequestStarted(const GURL& url, 46 void OnRequestStarted(const GURL& url,
47 int cert_id, 47 bool has_certificate,
48 net::CertStatus cert_status); 48 net::CertStatus cert_status);
49 49
50 // Update the SSL information in |entry| to match the current state. 50 // Update the SSL information in |entry| to match the current state.
51 // |web_contents| is the WebContents associated with this entry. 51 // |web_contents| is the WebContents associated with this entry.
52 void UpdateEntry(NavigationEntryImpl* entry, WebContents* web_contents); 52 void UpdateEntry(NavigationEntryImpl* entry, WebContents* web_contents);
53 53
54 SSLPolicyBackend* backend() const { return backend_; } 54 SSLPolicyBackend* backend() const { return backend_; }
55 55
56 private: 56 private:
57 enum OnCertErrorInternalOptionsMask { 57 enum OnCertErrorInternalOptionsMask {
(...skipping 21 matching lines...) Expand all
79 79
80 // The backend we use to enact our decisions. 80 // The backend we use to enact our decisions.
81 SSLPolicyBackend* backend_; 81 SSLPolicyBackend* backend_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(SSLPolicy); 83 DISALLOW_COPY_AND_ASSIGN(SSLPolicy);
84 }; 84 };
85 85
86 } // namespace content 86 } // namespace content
87 87
88 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_ 88 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698