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

Side by Side Diff: headless/public/headless_shell.h

Issue 2762593002: Add --headless flag to Windows (Closed)
Patch Set: Fix Mac build Created 3 years, 9 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
« headless/BUILD.gn ('K') | « headless/public/headless_browser.cc ('k') | 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 HEADLESS_PUBLIC_HEADLESS_SHELL_H_ 5 #ifndef HEADLESS_PUBLIC_HEADLESS_SHELL_H_
6 #define HEADLESS_PUBLIC_HEADLESS_SHELL_H_ 6 #define HEADLESS_PUBLIC_HEADLESS_SHELL_H_
7 7
8 #include "headless/public/headless_export.h" 8 #include "headless/public/headless_export.h"
9 9
10 #if defined(OS_WIN)
11 #include "sandbox/win/src/sandbox_types.h"
12 #endif
13
10 namespace headless { 14 namespace headless {
11 15
12 // Start the Headless Shell application. Intended to be called early in main(). 16 // Start the Headless Shell application. Intended to be called early in main().
13 // Returns the exit code for the process. 17 // Returns the exit code for the process.
18 #if defined(OS_WIN)
19 HEADLESS_EXPORT int HeadlessShellMain(
20 HINSTANCE instance,
21 sandbox::SandboxInterfaceInfo* sandbox_info);
22 #else
14 HEADLESS_EXPORT int HeadlessShellMain(int argc, const char** argv); 23 HEADLESS_EXPORT int HeadlessShellMain(int argc, const char** argv);
24 #endif // defined(OS_WIN)
15 } // namespace headless 25 } // namespace headless
16 26
17 #endif // HEADLESS_PUBLIC_HEADLESS_SHELL_H_ 27 #endif // HEADLESS_PUBLIC_HEADLESS_SHELL_H_
OLDNEW
« headless/BUILD.gn ('K') | « headless/public/headless_browser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698