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

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

Issue 1521703003: clang/win: Fix build after https://codereview.chromium.org/1456663003 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « 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 // 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 14 matching lines...) Expand all
25 25
26 namespace sandbox { 26 namespace sandbox {
27 27
28 class AppContainerAttributes; 28 class AppContainerAttributes;
29 class LowLevelPolicy; 29 class LowLevelPolicy;
30 class TargetProcess; 30 class TargetProcess;
31 struct PolicyGlobal; 31 struct PolicyGlobal;
32 32
33 typedef std::vector<base::win::ScopedHandle*> HandleList; 33 typedef std::vector<base::win::ScopedHandle*> HandleList;
34 34
35 class PolicyBase : public TargetPolicy { 35 class PolicyBase final : public TargetPolicy {
36 public: 36 public:
37 PolicyBase(); 37 PolicyBase();
38 38
39 // TargetPolicy: 39 // TargetPolicy:
40 void AddRef() override; 40 void AddRef() override;
41 void Release() override; 41 void Release() override;
42 ResultCode SetTokenLevel(TokenLevel initial, TokenLevel lockdown) override; 42 ResultCode SetTokenLevel(TokenLevel initial, TokenLevel lockdown) override;
43 TokenLevel GetInitialTokenLevel() const override; 43 TokenLevel GetInitialTokenLevel() const override;
44 TokenLevel GetLockdownTokenLevel() const override; 44 TokenLevel GetLockdownTokenLevel() const override;
45 ResultCode SetJobLevel(JobLevel job_level, uint32 ui_exceptions) override; 45 ResultCode SetJobLevel(JobLevel job_level, uint32 ui_exceptions) override;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // This list contains handles other than the stderr/stdout handles which are 166 // This list contains handles other than the stderr/stdout handles which are
167 // shared with the target at times. 167 // shared with the target at times.
168 HandleList handles_to_share_; 168 HandleList handles_to_share_;
169 169
170 DISALLOW_COPY_AND_ASSIGN(PolicyBase); 170 DISALLOW_COPY_AND_ASSIGN(PolicyBase);
171 }; 171 };
172 172
173 } // namespace sandbox 173 } // namespace sandbox
174 174
175 #endif // SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_ 175 #endif // SANDBOX_WIN_SRC_SANDBOX_POLICY_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698