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

Unified Diff: headless/app/headless_shell_main.cc

Issue 1410573004: headless: Add a headless shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to a top level directory. 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_shell_main.cc
diff --git a/blimp/engine/app/blimp_main.cc b/headless/app/headless_shell_main.cc
similarity index 77%
copy from blimp/engine/app/blimp_main.cc
copy to headless/app/headless_shell_main.cc
index 64e3e5343802704fd9998442b485145ec2b708b2..ffe8af84c245a1972ca20457e3efc583c3a48b40 100644
--- a/blimp/engine/app/blimp_main.cc
+++ b/headless/app/headless_shell_main.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "blimp/engine/app/blimp_content_main_delegate.h"
#include "content/public/app/content_main.h"
+#include "headless/lib/headless_main_delegate.h"
int main(int argc, const char** argv) {
- blimp::engine::BlimpContentMainDelegate delegate;
+ headless::HeadlessMainDelegate delegate;
content::ContentMainParams params(&delegate);
params.argc = argc;
params.argv = argv;

Powered by Google App Engine
This is Rietveld 408576698