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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_ 5 #ifndef SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_
6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_ 6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "sandbox/win/src/sandbox_policy_base.h" 9 #include "sandbox/win/src/sandbox_policy_base.h"
10 10
11 namespace sandbox { 11 namespace sandbox {
12 12
13 // This class sets up intercepts for the Win32K lockdown policy which is set 13 // This class sets up intercepts for the Win32K lockdown policy which is set
14 // on Windows 8 and beyond. 14 // on Windows 8 and beyond.
15 class ProcessMitigationsWin32KDispatcher : public Dispatcher { 15 class ProcessMitigationsWin32KDispatcher : public Dispatcher {
16 public: 16 public:
17 explicit ProcessMitigationsWin32KDispatcher(PolicyBase* policy_base); 17 explicit ProcessMitigationsWin32KDispatcher(PolicyBase* policy_base);
18 ~ProcessMitigationsWin32KDispatcher() override {} 18 ~ProcessMitigationsWin32KDispatcher() override {}
19 19
20 // Dispatcher interface. 20 // Dispatcher interface.
21 bool SetupService(InterceptionManager* manager, int service) override; 21 bool SetupService(InterceptionManager* manager, int service) override;
22 22
23 private: 23 private:
24 PolicyBase* policy_base_; 24 PolicyBase* policy_base_;
25 25
26 DISALLOW_COPY_AND_ASSIGN(ProcessMitigationsWin32KDispatcher); 26 DISALLOW_COPY_AND_ASSIGN(ProcessMitigationsWin32KDispatcher);
27 }; 27 };
28 28
29 } // namespace sandbox 29 } // namespace sandbox
30 30
31 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_ 31 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_DISPATCHER_H_
OLDNEW
« no previous file with comments | « sandbox/win/src/process_mitigations.cc ('k') | sandbox/win/src/process_mitigations_win32k_interception.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698