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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
Index: headless/app/headless_browser_main.h
diff --git a/content/shell/browser/shell_browser_main.h b/headless/app/headless_browser_main.h
similarity index 57%
copy from content/shell/browser/shell_browser_main.h
copy to headless/app/headless_browser_main.h
index d361fa3e4de6634c7200470d72949bbd3a4714af..113ca44dcc52014eb167b2ac3995adeeaf546f18 100644
--- a/content/shell/browser/shell_browser_main.h
+++ b/headless/app/headless_browser_main.h
@@ -1,19 +1,21 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_
-#define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_
+// TODO(altimin): fix
+#ifndef HEADLESS_BROWSER_MAIN_H_
+#define HEADLESS_BROWSER_MAIN_H_
#include "base/memory/scoped_ptr.h"
namespace content {
class BrowserMainRunner;
struct MainFunctionParams;
-}
+};
-int ShellBrowserMain(
+int HeadlessBrowserMain(
const content::MainFunctionParams& parameters,
const scoped_ptr<content::BrowserMainRunner>& main_runner);
-#endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_H_
+#endif // HEADLESS_BROWSER_MAIN_H_
+

Powered by Google App Engine
This is Rietveld 408576698