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

Side by Side Diff: webrtc/base/rtccertificate.h

Issue 2603203003: Revert of Replace basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: Created 3 years, 11 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/base/network.h ('k') | webrtc/base/systeminfo.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 /* 1 /*
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2015 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 #ifndef WEBRTC_BASE_RTCCERTIFICATE_H_ 11 #ifndef WEBRTC_BASE_RTCCERTIFICATE_H_
12 #define WEBRTC_BASE_RTCCERTIFICATE_H_ 12 #define WEBRTC_BASE_RTCCERTIFICATE_H_
13 13
14 #include <stdint.h>
15
16 #include <memory> 14 #include <memory>
17 15
16 #include "webrtc/base/basictypes.h"
18 #include "webrtc/base/refcount.h" 17 #include "webrtc/base/refcount.h"
19 #include "webrtc/base/scoped_ref_ptr.h" 18 #include "webrtc/base/scoped_ref_ptr.h"
20 #include "webrtc/base/sslidentity.h" 19 #include "webrtc/base/sslidentity.h"
21 20
22 namespace rtc { 21 namespace rtc {
23 22
24 // This class contains PEM strings of an RTCCertificate's private key and 23 // This class contains PEM strings of an RTCCertificate's private key and
25 // certificate and acts as a text representation of RTCCertificate. Certificates 24 // certificate and acts as a text representation of RTCCertificate. Certificates
26 // can be serialized and deserialized to and from this format, which allows for 25 // can be serialized and deserialized to and from this format, which allows for
27 // cloning and storing of certificates to disk. The PEM format is that of 26 // cloning and storing of certificates to disk. The PEM format is that of
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 private: 78 private:
80 // The SSLIdentity is the owner of the SSLCertificate. To protect our 79 // The SSLIdentity is the owner of the SSLCertificate. To protect our
81 // ssl_certificate() we take ownership of |identity_|. 80 // ssl_certificate() we take ownership of |identity_|.
82 std::unique_ptr<SSLIdentity> identity_; 81 std::unique_ptr<SSLIdentity> identity_;
83 }; 82 };
84 83
85 } // namespace rtc 84 } // namespace rtc
86 85
87 #endif // WEBRTC_BASE_RTCCERTIFICATE_H_ 86 #endif // WEBRTC_BASE_RTCCERTIFICATE_H_
OLDNEW
« no previous file with comments | « webrtc/base/network.h ('k') | webrtc/base/systeminfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698