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

Side by Side Diff: sandbox/win/src/sandbox_policy_base.h

Issue 330853002: Add UIPI support for sandbox alternate desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conditional tweak Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_ 5 #ifndef SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_
6 #define SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_ 6 #define SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 std::vector<base::string16> blacklisted_dlls_; 150 std::vector<base::string16> blacklisted_dlls_;
151 // This is a map of handle-types to names that we need to close in the 151 // This is a map of handle-types to names that we need to close in the
152 // target process. A null set means we need to close all handles of the 152 // target process. A null set means we need to close all handles of the
153 // given type. 153 // given type.
154 HandleCloser handle_closer_; 154 HandleCloser handle_closer_;
155 std::vector<base::string16> capabilities_; 155 std::vector<base::string16> capabilities_;
156 scoped_ptr<AppContainerAttributes> appcontainer_list_; 156 scoped_ptr<AppContainerAttributes> appcontainer_list_;
157 157
158 static HDESK alternate_desktop_handle_; 158 static HDESK alternate_desktop_handle_;
159 static HWINSTA alternate_winstation_handle_; 159 static HWINSTA alternate_winstation_handle_;
160 static IntegrityLevel alternate_desktop_integrity_label_;
160 161
161 DISALLOW_COPY_AND_ASSIGN(PolicyBase); 162 DISALLOW_COPY_AND_ASSIGN(PolicyBase);
162 }; 163 };
163 164
164 } // namespace sandbox 165 } // namespace sandbox
165 166
166 #endif // SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_ 167 #endif // SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698