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

Side by Side Diff: ios/web/net/cert_host_pair.h

Issue 1357773002: WKWebView: Implemented recoverable SSL interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lock_coloring
Patch Set: Addressed unit tests review comments Created 5 years, 1 month 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 | « ios/web/ios_web_unittests.gyp ('k') | ios/web/net/cert_host_pair.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_NET_CERT_HOST_PAIR_H_
6 #define IOS_WEB_NET_CERT_HOST_PAIR_H_
7
8 #include <string>
9
10 #include "base/memory/ref_counted.h"
11
12 namespace net {
13 class X509Certificate;
14 }
15
16 namespace web {
17
18 // Holds certificate-host pair. Implements operator less, hence can act as a key
19 // for a container.
20 struct CertHostPair {
21 CertHostPair(const scoped_refptr<net::X509Certificate>& cert,
22 const std::string& host);
23 ~CertHostPair();
24
25 bool operator<(const CertHostPair& other) const;
26
27 scoped_refptr<net::X509Certificate> cert;
28 std::string host;
29 };
30
31 } // namespace web
32
33 #endif // IOS_WEB_NET_CERT_HOST_PAIR_H_
OLDNEW
« no previous file with comments | « ios/web/ios_web_unittests.gyp ('k') | ios/web/net/cert_host_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698