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

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

Issue 2609783002: Reland of place basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: add basictypes.h to systeminfo.cc 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
14 #include <memory> 16 #include <memory>
15 17
16 #include "webrtc/base/basictypes.h"
17 #include "webrtc/base/refcount.h" 18 #include "webrtc/base/refcount.h"
18 #include "webrtc/base/scoped_ref_ptr.h" 19 #include "webrtc/base/scoped_ref_ptr.h"
19 #include "webrtc/base/sslidentity.h" 20 #include "webrtc/base/sslidentity.h"
20 21
21 namespace rtc { 22 namespace rtc {
22 23
23 // This class contains PEM strings of an RTCCertificate's private key and 24 // This class contains PEM strings of an RTCCertificate's private key and
24 // certificate and acts as a text representation of RTCCertificate. Certificates 25 // certificate and acts as a text representation of RTCCertificate. Certificates
25 // can be serialized and deserialized to and from this format, which allows for 26 // can be serialized and deserialized to and from this format, which allows for
26 // cloning and storing of certificates to disk. The PEM format is that of 27 // 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
77 78
78 private: 79 private:
79 // The SSLIdentity is the owner of the SSLCertificate. To protect our 80 // The SSLIdentity is the owner of the SSLCertificate. To protect our
80 // ssl_certificate() we take ownership of |identity_|. 81 // ssl_certificate() we take ownership of |identity_|.
81 std::unique_ptr<SSLIdentity> identity_; 82 std::unique_ptr<SSLIdentity> identity_;
82 }; 83 };
83 84
84 } // namespace rtc 85 } // namespace rtc
85 86
86 #endif // WEBRTC_BASE_RTCCERTIFICATE_H_ 87 #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