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

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

Issue 8538001: Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « sandbox/src/sandbox.h ('k') | sandbox/src/target_process.h » ('j') | 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) 2006-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_SRC_SANDBOX_POLICY_BASE_H_ 5 #ifndef SANDBOX_SRC_SANDBOX_POLICY_BASE_H_
6 #define SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ 6 #define SANDBOX_SRC_SANDBOX_POLICY_BASE_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9
9 #include <list> 10 #include <list>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/basictypes.h" 13 #include "base/basictypes.h"
13 #include "base/string16.h" 14 #include "base/string16.h"
14 #include "sandbox/src/crosscall_server.h" 15 #include "sandbox/src/crosscall_server.h"
15 #include "sandbox/src/handle_closer.h" 16 #include "sandbox/src/handle_closer.h"
16 #include "sandbox/src/ipc_tags.h" 17 #include "sandbox/src/ipc_tags.h"
17 #include "sandbox/src/policy_engine_opcodes.h" 18 #include "sandbox/src/policy_engine_opcodes.h"
18 #include "sandbox/src/policy_engine_params.h" 19 #include "sandbox/src/policy_engine_params.h"
19 #include "sandbox/src/sandbox_policy.h" 20 #include "sandbox/src/sandbox_policy.h"
20 #include "sandbox/src/win_utils.h" 21 #include "sandbox/src/win_utils.h"
21 22
22 namespace sandbox { 23 namespace sandbox {
23 24
25 class LowLevelPolicy;
24 class TargetProcess; 26 class TargetProcess;
25 class PolicyRule;
26 class LowLevelPolicy;
27 struct PolicyGlobal; 27 struct PolicyGlobal;
28 28
29 // We act as a policy dispatcher, implementing the handler for the "ping" IPC, 29 // We act as a policy dispatcher, implementing the handler for the "ping" IPC,
30 // so we have to provide the appropriate handler on the OnMessageReady method. 30 // so we have to provide the appropriate handler on the OnMessageReady method.
31 // There is a static_cast for the handler, and the compiler only performs the 31 // There is a static_cast for the handler, and the compiler only performs the
32 // cast if the first base class is Dispatcher. 32 // cast if the first base class is Dispatcher.
33 class PolicyBase : public Dispatcher, public TargetPolicy { 33 class PolicyBase : public Dispatcher, public TargetPolicy {
34 public: 34 public:
35 PolicyBase(); 35 PolicyBase();
36 36
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 static HDESK alternate_desktop_handle_; 181 static HDESK alternate_desktop_handle_;
182 static HWINSTA alternate_winstation_handle_; 182 static HWINSTA alternate_winstation_handle_;
183 183
184 DISALLOW_COPY_AND_ASSIGN(PolicyBase); 184 DISALLOW_COPY_AND_ASSIGN(PolicyBase);
185 }; 185 };
186 186
187 } // namespace sandbox 187 } // namespace sandbox
188 188
189 #endif // SANDBOX_SRC_SANDBOX_POLICY_BASE_H_ 189 #endif // SANDBOX_SRC_SANDBOX_POLICY_BASE_H_
OLDNEW
« no previous file with comments | « sandbox/src/sandbox.h ('k') | sandbox/src/target_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698