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

Side by Side Diff: sandbox/win/sandbox_poc/main_ui_window.h

Issue 2829853010: Remove some illegal enum forward declarations (Closed)
Patch Set: Add back *one* forward declaration Created 3 years, 8 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
« no previous file with comments | « no previous file | sandbox/win/src/filesystem_policy.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) 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_SANDBOX_POC_MAIN_UI_WINDOW_H__ 5 #ifndef SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__
6 #define SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__ 6 #define SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 14
15 namespace sandbox { 15 namespace sandbox {
16 class BrokerServices; 16 class BrokerServices;
17 enum ResultCode;
18 } 17 }
19 18
20 // Header file for the MainUIWindow, a simple window with a menu bar that 19 // Header file for the MainUIWindow, a simple window with a menu bar that
21 // can pop up a dialog (accessible through the menu bar), to specify a path and 20 // can pop up a dialog (accessible through the menu bar), to specify a path and
22 // filename of any DLL to load and choose an entry point of their choice 21 // filename of any DLL to load and choose an entry point of their choice
23 // (note: only entry points with no parameters are expected to work). 22 // (note: only entry points with no parameters are expected to work).
24 // 23 //
25 // The purpose of this is to be able to spawn an EXE inside a SandBox, have it 24 // The purpose of this is to be able to spawn an EXE inside a SandBox, have it
26 // load a DLL and call the entry point on it to test how it behaves inside the 25 // load a DLL and call the entry point on it to test how it behaves inside the
27 // sandbox. This is useful for developer debugging and for security testing. 26 // sandbox. This is useful for developer debugging and for security testing.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // user. 186 // user.
188 static HWND list_view_; 187 static HWND list_view_;
189 188
190 // Pipe used to communicate the logs between the target and the broker. 189 // Pipe used to communicate the logs between the target and the broker.
191 HANDLE pipe_handle_; 190 HANDLE pipe_handle_;
192 191
193 DISALLOW_COPY_AND_ASSIGN(MainUIWindow); 192 DISALLOW_COPY_AND_ASSIGN(MainUIWindow);
194 }; 193 };
195 194
196 #endif // SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__ 195 #endif // SANDBOX_SANDBOX_POC_MAIN_UI_WINDOW_H__
OLDNEW
« no previous file with comments | « no previous file | sandbox/win/src/filesystem_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698