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

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

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 2 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 /* 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 #ifndef WEBRTC_BASE_NSSIDENTITY_H_ 11 #ifndef WEBRTC_BASE_NSSIDENTITY_H_
12 #define WEBRTC_BASE_NSSIDENTITY_H_ 12 #define WEBRTC_BASE_NSSIDENTITY_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 // Hack: Define+undefine int64 and uint64 to avoid typedef conflict with NSS. 16 // Hack: Define+undefine int64_t and uint64_t to avoid typedef conflict with
17 // NSS.
17 // TODO(kjellander): Remove when webrtc:4497 is completed. 18 // TODO(kjellander): Remove when webrtc:4497 is completed.
18 #define uint64 foo_uint64 19 #define uint64_t foo_uint64
19 #define int64 foo_int64 20 #define int64_t foo_int64
20 #include "cert.h" 21 #include "cert.h"
21 #undef uint64 22 #undef uint64_t
22 #undef int64 23 #undef int64_t
23 #include "nspr.h" 24 #include "nspr.h"
24 #include "hasht.h" 25 #include "hasht.h"
25 #include "keythi.h" 26 #include "keythi.h"
26 27
27 #ifdef NSS_SSL_RELATIVE_PATH 28 #ifdef NSS_SSL_RELATIVE_PATH
28 #include "ssl.h" 29 #include "ssl.h"
29 #else 30 #else
30 #include "net/third_party/nss/ssl/ssl.h" 31 #include "net/third_party/nss/ssl/ssl.h"
31 #endif 32 #endif
32 33
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 rtc::scoped_ptr<NSSKeyPair> keypair_; 136 rtc::scoped_ptr<NSSKeyPair> keypair_;
136 rtc::scoped_ptr<NSSCertificate> certificate_; 137 rtc::scoped_ptr<NSSCertificate> certificate_;
137 138
138 RTC_DISALLOW_COPY_AND_ASSIGN(NSSIdentity); 139 RTC_DISALLOW_COPY_AND_ASSIGN(NSSIdentity);
139 }; 140 };
140 141
141 } // namespace rtc 142 } // namespace rtc
142 143
143 #endif // WEBRTC_BASE_NSSIDENTITY_H_ 144 #endif // WEBRTC_BASE_NSSIDENTITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698