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

Side by Side Diff: net/base/x509_cert_types.cc

Issue 3014015: Remove <iostream> where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix chrome frame compile Created 10 years, 5 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 | « net/base/x509_cert_types.h ('k') | net/tools/flip_server/balsa_frame.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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 #include "net/base/x509_cert_types.h" 5 #include "net/base/x509_cert_types.h"
6 6
7 #include <ostream>
8
7 #include "net/base/x509_certificate.h" 9 #include "net/base/x509_certificate.h"
8 #include "base/logging.h" 10 #include "base/logging.h"
9 11
10 namespace net { 12 namespace net {
11 13
12 bool match(const std::string &str, const std::string &against) { 14 bool match(const std::string &str, const std::string &against) {
13 // TODO(snej): Use the full matching rules specified in RFC 5280 sec. 7.1 15 // TODO(snej): Use the full matching rules specified in RFC 5280 sec. 7.1
14 // including trimming and case-folding: <http://www.ietf.org/rfc/rfc5280.txt>. 16 // including trimming and case-folding: <http://www.ietf.org/rfc/rfc5280.txt>.
15 return against == str; 17 return against == str;
16 } 18 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 105
104 bool CertPolicy::HasAllowedCert() const { 106 bool CertPolicy::HasAllowedCert() const {
105 return !allowed_.empty(); 107 return !allowed_.empty();
106 } 108 }
107 109
108 bool CertPolicy::HasDeniedCert() const { 110 bool CertPolicy::HasDeniedCert() const {
109 return !denied_.empty(); 111 return !denied_.empty();
110 } 112 }
111 113
112 } // namespace net 114 } // namespace net
OLDNEW
« no previous file with comments | « net/base/x509_cert_types.h ('k') | net/tools/flip_server/balsa_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698