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

Side by Side Diff: webrtc/rtc_base/win32.h

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/weak_ptr_unittest.cc ('k') | webrtc/rtc_base/win32.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
(...skipping 20 matching lines...) Expand all
31 #define TokenIntegrityLevel static_cast<TOKEN_INFORMATION_CLASS>(0x19) 31 #define TokenIntegrityLevel static_cast<TOKEN_INFORMATION_CLASS>(0x19)
32 typedef struct _TOKEN_MANDATORY_LABEL { 32 typedef struct _TOKEN_MANDATORY_LABEL {
33 SID_AND_ATTRIBUTES Label; 33 SID_AND_ATTRIBUTES Label;
34 } TOKEN_MANDATORY_LABEL, *PTOKEN_MANDATORY_LABEL; 34 } TOKEN_MANDATORY_LABEL, *PTOKEN_MANDATORY_LABEL;
35 #endif // SECURITY_MANDATORY_LABEL_AUTHORITY 35 #endif // SECURITY_MANDATORY_LABEL_AUTHORITY
36 36
37 #undef SetPort 37 #undef SetPort
38 38
39 #include <string> 39 #include <string>
40 40
41 #include "webrtc/base/stringutils.h" 41 #include "webrtc/rtc_base/basictypes.h"
42 #include "webrtc/base/basictypes.h" 42 #include "webrtc/rtc_base/stringutils.h"
43 43
44 namespace rtc { 44 namespace rtc {
45 45
46 const char* win32_inet_ntop(int af, const void *src, char* dst, socklen_t size); 46 const char* win32_inet_ntop(int af, const void *src, char* dst, socklen_t size);
47 int win32_inet_pton(int af, const char* src, void *dst); 47 int win32_inet_pton(int af, const char* src, void *dst);
48 48
49 inline std::wstring ToUtf16(const char* utf8, size_t len) { 49 inline std::wstring ToUtf16(const char* utf8, size_t len) {
50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), 50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len),
51 nullptr, 0); 51 nullptr, 0);
52 wchar_t* ws = STACK_ARRAY(wchar_t, len16); 52 wchar_t* ws = STACK_ARRAY(wchar_t, len16);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 inline bool IsCurrentProcessLowIntegrity() { 119 inline bool IsCurrentProcessLowIntegrity() {
120 int level; 120 int level;
121 return (GetCurrentProcessIntegrityLevel(&level) && 121 return (GetCurrentProcessIntegrityLevel(&level) &&
122 level < SECURITY_MANDATORY_MEDIUM_RID); 122 level < SECURITY_MANDATORY_MEDIUM_RID);
123 } 123 }
124 124
125 } // namespace rtc 125 } // namespace rtc
126 126
127 #endif // WEBRTC_WIN 127 #endif // WEBRTC_WIN
128 #endif // WEBRTC_RTC_BASE_WIN32_H_ 128 #endif // WEBRTC_RTC_BASE_WIN32_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/weak_ptr_unittest.cc ('k') | webrtc/rtc_base/win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698