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

Side by Side Diff: chrome/common/main_function_params.h

Issue 17426: remove chrome dependencies from win sandboxing headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Wrapper to the parameter list for the "main" entry points (browser, renderer,
6 // plugin) to shield the call sites from the differences between platforms
7 // (e.g., POSIX doesn't need to pass any sandbox information).
8
9 #ifndef CHROME_COMMON_MAIN_FUNCTINON_PARAMS_H_
10 #define CHROME_COMMON_MAIN_FUNCTINON_PARAMS_H_
11
12 #include "base/command_line.h"
13 #include "chrome/common/sandbox_init_wrapper.h"
14
15 // TODO(pinkerton): |cl| should be const, but can't be due to bug 6144.
16
17 struct MainFunctionParams {
18 MainFunctionParams(CommandLine& cl, const SandboxInitWrapper& sb)
19 : command_line_(cl), sandbox_info_(sb) { }
brettw 2009/01/09 18:10:47 Indent this 2 more spaces.
20 CommandLine& command_line_;
21 const SandboxInitWrapper& sandbox_info_;
22 };
23
24 #endif // CHROME_COMMON_MAIN_FUNCTINON_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698