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

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

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_manager.h ('k') | content/browser/webui/web_ui_impl.h » ('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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 // An error occurred with the certificate in an SSL connection. 33 // An error occurred with the certificate in an SSL connection.
34 void OnCertError(SSLCertErrorHandler* handler); 34 void OnCertError(SSLCertErrorHandler* handler);
35 35
36 void DidRunInsecureContent(content::NavigationEntryImpl* entry, 36 void DidRunInsecureContent(content::NavigationEntryImpl* entry,
37 const std::string& security_origin); 37 const std::string& security_origin);
38 38
39 // We have started a resource request with the given info. 39 // We have started a resource request with the given info.
40 void OnRequestStarted(SSLRequestInfo* info); 40 void OnRequestStarted(SSLRequestInfo* info);
41 41
42 // Update the SSL information in |entry| to match the current state. 42 // Update the SSL information in |entry| to match the current state.
43 // |tab_contents| is the TabContents associated with this entry. 43 // |web_contents| is the WebContentsImpl associated with this entry.
44 void UpdateEntry(content::NavigationEntryImpl* entry, 44 void UpdateEntry(content::NavigationEntryImpl* entry,
45 WebContentsImpl* web_contents); 45 WebContentsImpl* web_contents);
46 46
47 SSLPolicyBackend* backend() const { return backend_; } 47 SSLPolicyBackend* backend() const { return backend_; }
48 48
49 private: 49 private:
50 // Callback that the user chose to accept or deny the certificate. 50 // Callback that the user chose to accept or deny the certificate.
51 void OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler, 51 void OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler,
52 bool allow); 52 bool allow);
53 53
(...skipping 11 matching lines...) Expand all
65 // Mark |origin| as having run insecure content in the process with ID |pid|. 65 // Mark |origin| as having run insecure content in the process with ID |pid|.
66 void OriginRanInsecureContent(const std::string& origin, int pid); 66 void OriginRanInsecureContent(const std::string& origin, int pid);
67 67
68 // The backend we use to enact our decisions. 68 // The backend we use to enact our decisions.
69 SSLPolicyBackend* backend_; 69 SSLPolicyBackend* backend_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(SSLPolicy); 71 DISALLOW_COPY_AND_ASSIGN(SSLPolicy);
72 }; 72 };
73 73
74 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_ 74 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_manager.h ('k') | content/browser/webui/web_ui_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698