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

Unified Diff: headless/public/headless_shell.h

Issue 2470233003: headless: Librarify Headless Shell (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/app/headless_shell_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/headless_shell.h
diff --git a/headless/public/headless_shell.h b/headless/public/headless_shell.h
new file mode 100644
index 0000000000000000000000000000000000000000..f083d2030c1057d70fdfdd4ccd364e671c505f7a
--- /dev/null
+++ b/headless/public/headless_shell.h
@@ -0,0 +1,18 @@
+// Copyright 2016 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 HEADLESS_PUBLIC_HEADLESS_SHELL_H_
+#define HEADLESS_PUBLIC_HEADLESS_SHELL_H_
+
+#include "headless/public/headless_export.h"
+
+namespace headless {
+
+// Start the Headless Shell application. Intended to be called early in main().
+// Returns the exit code for the process.
+int HEADLESS_EXPORT HeadlessShellMain(int argc, const char** argv);
+
+} // namespace headless
+
+#endif // HEADLESS_PUBLIC_HEADLESS_SHELL_H_
« no previous file with comments | « headless/app/headless_shell_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698