| 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 #ifndef WEBRTC_BASE_WIN32_H_ | 11 #ifndef WEBRTC_RTC_BASE_WIN32_H_ |
| 12 #define WEBRTC_BASE_WIN32_H_ | 12 #define WEBRTC_RTC_BASE_WIN32_H_ |
| 13 | 13 |
| 14 #if defined(WEBRTC_WIN) | 14 #if defined(WEBRTC_WIN) |
| 15 | 15 |
| 16 #ifndef WIN32_LEAN_AND_MEAN | 16 #ifndef WIN32_LEAN_AND_MEAN |
| 17 #define WIN32_LEAN_AND_MEAN | 17 #define WIN32_LEAN_AND_MEAN |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 // Make sure we don't get min/max macros | 20 // Make sure we don't get min/max macros |
| 21 #ifndef NOMINMAX | 21 #ifndef NOMINMAX |
| 22 #define NOMINMAX | 22 #define NOMINMAX |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 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_BASE_WIN32_H_ | 128 #endif // WEBRTC_RTC_BASE_WIN32_H_ |
| OLD | NEW |