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

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

Issue 1415923015: Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove console message; see comment to mike Created 5 years 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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 18 matching lines...) Expand all
29 // the decisions it reaches. 29 // the decisions it reaches.
30 // 30 //
31 class SSLPolicy { 31 class SSLPolicy {
32 public: 32 public:
33 explicit SSLPolicy(SSLPolicyBackend* backend); 33 explicit SSLPolicy(SSLPolicyBackend* backend);
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(SSLCertErrorHandler* handler); 36 void OnCertError(SSLCertErrorHandler* handler);
37 37
38 void DidRunInsecureContent(NavigationEntryImpl* entry, 38 void DidRunInsecureContent(NavigationEntryImpl* entry,
39 const std::string& security_origin); 39 const GURL& security_origin);
40 40
41 // We have started a resource request with the given info. 41 // We have started a resource request with the given info.
42 void OnRequestStarted(SSLRequestInfo* info); 42 void OnRequestStarted(SSLRequestInfo* info);
43 43
44 // Update the SSL information in |entry| to match the current state. 44 // Update the SSL information in |entry| to match the current state.
45 // |web_contents| is the WebContents associated with this entry. 45 // |web_contents| is the WebContents associated with this entry.
46 void UpdateEntry(NavigationEntryImpl* entry, WebContents* web_contents); 46 void UpdateEntry(NavigationEntryImpl* entry, WebContents* web_contents);
47 47
48 SSLPolicyBackend* backend() const { return backend_; } 48 SSLPolicyBackend* backend() const { return backend_; }
49 49
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // The backend we use to enact our decisions. 87 // The backend we use to enact our decisions.
88 SSLPolicyBackend* backend_; 88 SSLPolicyBackend* backend_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(SSLPolicy); 90 DISALLOW_COPY_AND_ASSIGN(SSLPolicy);
91 }; 91 };
92 92
93 } // namespace content 93 } // namespace content
94 94
95 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_ 95 #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