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

Side by Side Diff: headless/app/headless_browser_main.h

Issue 1430673002: Headless demo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698