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

Side by Side Diff: content/test/mock_ssl_host_state_delegate.h

Issue 2226523002: Add separate plumbing for subresources with certificate errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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/public/common/ssl_status.h ('k') | content/test/mock_ssl_host_state_delegate.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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_
7 7
8 #include "content/public/browser/ssl_host_state_delegate.h" 8 #include "content/public/browser/ssl_host_state_delegate.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 12 matching lines...) Expand all
23 CertJudgment QueryPolicy(const std::string& host, 23 CertJudgment QueryPolicy(const std::string& host,
24 const net::X509Certificate& cert, 24 const net::X509Certificate& cert,
25 net::CertStatus error, 25 net::CertStatus error,
26 bool* expired_previous_decision) override; 26 bool* expired_previous_decision) override;
27 27
28 void HostRanInsecureContent(const std::string& host, int pid) override; 28 void HostRanInsecureContent(const std::string& host, int pid) override;
29 29
30 bool DidHostRunInsecureContent(const std::string& host, 30 bool DidHostRunInsecureContent(const std::string& host,
31 int pid) const override; 31 int pid) const override;
32 32
33 void HostRanContentWithCertificateErrors(const std::string& host,
34 int pid) override;
35
36 bool DidHostRunContentWithCertificateErrors(const std::string& host,
37 int pid) const override;
38
33 void RevokeUserAllowExceptions(const std::string& host) override; 39 void RevokeUserAllowExceptions(const std::string& host) override;
34 40
35 bool HasAllowException(const std::string& host) const override; 41 bool HasAllowException(const std::string& host) const override;
36 42
37 private: 43 private:
38 std::set<std::string> exceptions_; 44 std::set<std::string> exceptions_;
39 }; 45 };
40 46
41 } // namespace content 47 } // namespace content
42 48
43 #endif // CONTENT_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_ 49 #endif // CONTENT_PUBLIC_TEST_MOCK_SSL_HOST_STATE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/common/ssl_status.h ('k') | content/test/mock_ssl_host_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698