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

Side by Side Diff: ios/web/public/certificate_policy_cache.h

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « ios/web/public/app/web_main_parts.h ('k') | ios/web/public/navigation_manager.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_ 5 #ifndef IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_
6 #define IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_ 6 #define IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h"
11 #include "ios/web/public/cert_policy.h" 12 #include "ios/web/public/cert_policy.h"
12 #include "net/cert/x509_certificate.h" 13 #include "net/cert/x509_certificate.h"
13 14
14 namespace web { 15 namespace web {
15 16
16 // A manager for certificate policy decisions for hosts, used to remember 17 // A manager for certificate policy decisions for hosts, used to remember
17 // decisions about how to handle problematic certs. 18 // decisions about how to handle problematic certs.
18 // This class is thread-safe only in that in can be created and passed around 19 // This class is thread-safe only in that in can be created and passed around
19 // on any thread; the policy-related methods can only be called from the IO 20 // on any thread; the policy-related methods can only be called from the IO
20 // thread. 21 // thread.
(...skipping 26 matching lines...) Expand all
47 48
48 // Certificate policies for each host. 49 // Certificate policies for each host.
49 std::map<std::string, CertPolicy> cert_policy_for_host_; 50 std::map<std::string, CertPolicy> cert_policy_for_host_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(CertificatePolicyCache); 52 DISALLOW_COPY_AND_ASSIGN(CertificatePolicyCache);
52 }; 53 };
53 54
54 } // namespace web 55 } // namespace web
55 56
56 #endif // IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_ 57 #endif // IOS_WEB_PUBLIC_CERTIFICATE_POLICY_CACHE_H_
OLDNEW
« no previous file with comments | « ios/web/public/app/web_main_parts.h ('k') | ios/web/public/navigation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698