Chromium Code Reviews

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

Issue 2872303002: Delete left-over declaration of AdjustCurrentProcessPrivilege. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | no next file » | 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 104 matching lines...)
115 115
116 // Determine the current integrity level of the process. 116 // Determine the current integrity level of the process.
117 bool GetCurrentProcessIntegrityLevel(int* level); 117 bool GetCurrentProcessIntegrityLevel(int* level);
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 bool AdjustCurrentProcessPrivilege(const TCHAR* privilege, bool to_enable);
126
127 } // namespace rtc 125 } // namespace rtc
128 126
129 #endif // WEBRTC_WIN 127 #endif // WEBRTC_WIN
130 #endif // WEBRTC_BASE_WIN32_H_ 128 #endif // WEBRTC_BASE_WIN32_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine