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

Side by Side Diff: webrtc/rtc_base/sslidentity.cc

Issue 2966523003: Reland "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Restoring prime suspect includes Created 3 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 | « webrtc/rtc_base/sslidentity.h ('k') | webrtc/rtc_base/sslidentity_unittest.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 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 // Handling of certificates and keypairs for SSLStreamAdapter's peer mode. 11 // Handling of certificates and keypairs for SSLStreamAdapter's peer mode.
12 #include "webrtc/base/sslidentity.h" 12 #include "webrtc/rtc_base/sslidentity.h"
13 13
14 #include <ctime> 14 #include <ctime>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/base/base64.h" 17 #include "webrtc/rtc_base/base64.h"
18 #include "webrtc/base/checks.h" 18 #include "webrtc/rtc_base/checks.h"
19 #include "webrtc/base/logging.h" 19 #include "webrtc/rtc_base/logging.h"
20 #include "webrtc/base/opensslidentity.h" 20 #include "webrtc/rtc_base/opensslidentity.h"
21 #include "webrtc/base/sslfingerprint.h" 21 #include "webrtc/rtc_base/sslfingerprint.h"
22 22
23 namespace rtc { 23 namespace rtc {
24 24
25 const char kPemTypeCertificate[] = "CERTIFICATE"; 25 const char kPemTypeCertificate[] = "CERTIFICATE";
26 const char kPemTypeRsaPrivateKey[] = "RSA PRIVATE KEY"; 26 const char kPemTypeRsaPrivateKey[] = "RSA PRIVATE KEY";
27 const char kPemTypeEcPrivateKey[] = "EC PRIVATE KEY"; 27 const char kPemTypeEcPrivateKey[] = "EC PRIVATE KEY";
28 28
29 SSLCertificateStats::SSLCertificateStats( 29 SSLCertificateStats::SSLCertificateStats(
30 std::string&& fingerprint, 30 std::string&& fingerprint,
31 std::string&& fingerprint_algorithm, 31 std::string&& fingerprint_algorithm,
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 316
317 if (bytes_left != 1) { 317 if (bytes_left != 1) {
318 // Now just Z should remain. Its existence was asserted above. 318 // Now just Z should remain. Its existence was asserted above.
319 return -1; 319 return -1;
320 } 320 }
321 321
322 return TmToSeconds(tm); 322 return TmToSeconds(tm);
323 } 323 }
324 324
325 } // namespace rtc 325 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/sslidentity.h ('k') | webrtc/rtc_base/sslidentity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698