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

Side by Side 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, 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 2015 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 #include "blimp/engine/app/blimp_content_main_delegate.h"
6 #include "content/public/app/content_main.h" 5 #include "content/public/app/content_main.h"
6 #include "headless/lib/headless_main_delegate.h"
7 7
8 int main(int argc, const char** argv) { 8 int main(int argc, const char** argv) {
9 blimp::engine::BlimpContentMainDelegate delegate; 9 headless::HeadlessMainDelegate delegate;
10 content::ContentMainParams params(&delegate); 10 content::ContentMainParams params(&delegate);
11 params.argc = argc; 11 params.argc = argc;
12 params.argv = argv; 12 params.argv = argv;
13 return content::ContentMain(params); 13 return content::ContentMain(params);
14 } 14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698