OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_ | 5 // TODO(altimin): fix |
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_ | 6 #ifndef HEADLESS_BROWSER_MAIN_H_ |
| 7 #define HEADLESS_BROWSER_MAIN_H_ |
7 | 8 |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 class BrowserMainRunner; | 12 class BrowserMainRunner; |
12 struct MainFunctionParams; | 13 struct MainFunctionParams; |
13 } | 14 }; |
14 | 15 |
15 int ShellBrowserMain( | 16 int HeadlessBrowserMain( |
16 const content::MainFunctionParams& parameters, | 17 const content::MainFunctionParams& parameters, |
17 const scoped_ptr<content::BrowserMainRunner>& main_runner); | 18 const scoped_ptr<content::BrowserMainRunner>& main_runner); |
18 | 19 |
19 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_ | 20 #endif // HEADLESS_BROWSER_MAIN_H_ |
| 21 |
OLD | NEW |