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

Side by Side Diff: chrome/common/net/x509_certificate_model.h

Issue 1082123003: Rename USE_NSS to USE_NSS_CERTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs
Patch Set: rebase Created 5 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_ 5 #ifndef CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_
6 #define CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_ 6 #define CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_
7 7
8 #include "net/cert/cert_type.h" 8 #include "net/cert/cert_type.h"
9 #include "net/cert/x509_certificate.h" 9 #include "net/cert/x509_certificate.h"
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // line separated using |line_separator|. 106 // line separated using |line_separator|.
107 std::string ProcessRawBytesWithSeparators(const unsigned char* data, 107 std::string ProcessRawBytesWithSeparators(const unsigned char* data,
108 size_t data_length, 108 size_t data_length,
109 char hex_separator, 109 char hex_separator,
110 char line_separator); 110 char line_separator);
111 111
112 // Format a buffer as a space separated string, with 16 bytes on each line. 112 // Format a buffer as a space separated string, with 16 bytes on each line.
113 std::string ProcessRawBytes(const unsigned char* data, 113 std::string ProcessRawBytes(const unsigned char* data,
114 size_t data_length); 114 size_t data_length);
115 115
116 #if defined(USE_NSS) 116 #if defined(USE_NSS_CERTS)
117 // Format a buffer as a space separated string, with 16 bytes on each line. 117 // Format a buffer as a space separated string, with 16 bytes on each line.
118 // |data_length| is the length in bits. 118 // |data_length| is the length in bits.
119 std::string ProcessRawBits(const unsigned char* data, 119 std::string ProcessRawBits(const unsigned char* data,
120 size_t data_length); 120 size_t data_length);
121 #endif // USE_NSS 121 #endif // USE_NSS_CERTS
122 122
123 } // namespace x509_certificate_model 123 } // namespace x509_certificate_model
124 124
125 #endif // CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_ 125 #endif // CHROME_COMMON_NET_X509_CERTIFICATE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.cc ('k') | chrome/common/net/x509_certificate_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698