OLD | NEW |
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 #include <time.h> | 11 #include <time.h> |
12 | 12 |
13 #if defined(WEBRTC_WIN) | 13 #if defined(WEBRTC_WIN) |
14 #define WIN32_LEAN_AND_MEAN | 14 #define WIN32_LEAN_AND_MEAN |
15 #include <windows.h> | 15 #include <windows.h> |
16 #include <winsock2.h> | 16 #include <winsock2.h> |
17 #include <ws2tcpip.h> | 17 #include <ws2tcpip.h> |
18 #define SECURITY_WIN32 | 18 #define SECURITY_WIN32 |
19 #include <security.h> | 19 #include <security.h> |
20 #endif | 20 #endif |
21 | 21 |
22 #include <algorithm> | 22 #include <algorithm> |
23 | 23 |
24 #include "webrtc/base/arraysize.h" | 24 #include "webrtc/rtc_base/arraysize.h" |
25 #include "webrtc/base/base64.h" | 25 #include "webrtc/rtc_base/base64.h" |
26 #include "webrtc/base/checks.h" | 26 #include "webrtc/rtc_base/checks.h" |
27 #include "webrtc/base/cryptstring.h" | 27 #include "webrtc/rtc_base/cryptstring.h" |
28 #include "webrtc/base/httpcommon-inl.h" | 28 #include "webrtc/rtc_base/httpcommon-inl.h" |
29 #include "webrtc/base/httpcommon.h" | 29 #include "webrtc/rtc_base/httpcommon.h" |
30 #include "webrtc/base/messagedigest.h" | 30 #include "webrtc/rtc_base/messagedigest.h" |
31 #include "webrtc/base/socketaddress.h" | 31 #include "webrtc/rtc_base/socketaddress.h" |
32 #include "webrtc/base/stringencode.h" | 32 #include "webrtc/rtc_base/stringencode.h" |
33 #include "webrtc/base/stringutils.h" | 33 #include "webrtc/rtc_base/stringutils.h" |
34 | 34 |
35 namespace rtc { | 35 namespace rtc { |
36 | 36 |
37 #if defined(WEBRTC_WIN) | 37 #if defined(WEBRTC_WIN) |
38 extern const ConstantLabel SECURITY_ERRORS[]; | 38 extern const ConstantLabel SECURITY_ERRORS[]; |
39 #endif | 39 #endif |
40 | 40 |
41 ////////////////////////////////////////////////////////////////////// | 41 ////////////////////////////////////////////////////////////////////// |
42 // Enum - TODO: expose globally later? | 42 // Enum - TODO: expose globally later? |
43 ////////////////////////////////////////////////////////////////////// | 43 ////////////////////////////////////////////////////////////////////// |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 } | 1000 } |
1001 #endif | 1001 #endif |
1002 #endif // WEBRTC_WIN | 1002 #endif // WEBRTC_WIN |
1003 | 1003 |
1004 return HAR_IGNORE; | 1004 return HAR_IGNORE; |
1005 } | 1005 } |
1006 | 1006 |
1007 ////////////////////////////////////////////////////////////////////// | 1007 ////////////////////////////////////////////////////////////////////// |
1008 | 1008 |
1009 } // namespace rtc | 1009 } // namespace rtc |
OLD | NEW |