OLD | NEW |
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 | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "webkit/glue/resource_type.h" | 11 #include "webkit/glue/resource_type.h" |
13 | 12 |
14 class SSLCertErrorHandler; | 13 class SSLCertErrorHandler; |
15 class SSLPolicyBackend; | 14 class SSLPolicyBackend; |
16 class SSLRequestInfo; | 15 class SSLRequestInfo; |
17 class WebContentsImpl; | 16 class WebContentsImpl; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Mark |origin| as having run insecure content in the process with ID |pid|. | 68 // Mark |origin| as having run insecure content in the process with ID |pid|. |
70 void OriginRanInsecureContent(const std::string& origin, int pid); | 69 void OriginRanInsecureContent(const std::string& origin, int pid); |
71 | 70 |
72 // The backend we use to enact our decisions. | 71 // The backend we use to enact our decisions. |
73 SSLPolicyBackend* backend_; | 72 SSLPolicyBackend* backend_; |
74 | 73 |
75 DISALLOW_COPY_AND_ASSIGN(SSLPolicy); | 74 DISALLOW_COPY_AND_ASSIGN(SSLPolicy); |
76 }; | 75 }; |
77 | 76 |
78 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_ | 77 #endif // CONTENT_BROWSER_SSL_SSL_POLICY_H_ |
OLD | NEW |