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

Unified Diff: blimp/engine/testing/app/test_blimp_main.cc

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: nit change Created 3 years, 11 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: blimp/engine/testing/app/test_blimp_main.cc
diff --git a/blimp/engine/testing/app/test_blimp_main.cc b/blimp/engine/testing/app/test_blimp_main.cc
new file mode 100644
index 0000000000000000000000000000000000000000..dec768c94f6bfc15aa697b0545579bfdef1ca558
--- /dev/null
+++ b/blimp/engine/testing/app/test_blimp_main.cc
@@ -0,0 +1,19 @@
+// 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.
+
+#include "base/command_line.h"
+#include "blimp/engine/app/blimp_engine_config.h"
+#include "blimp/engine/testing/app/test_blimp_content_main_delegate.h"
+#include "content/public/app/content_main.h"
+
+int main(int argc, const char** argv) {
+ base::CommandLine::Init(argc, argv);
+ blimp::engine::SetCommandLineDefaults(base::CommandLine::ForCurrentProcess());
+
+ blimp::engine::TestBlimpContentMainDelegate delegate;
+ content::ContentMainParams params(&delegate);
+ params.argc = argc;
+ params.argv = argv;
+ return content::ContentMain(params);
+}
« no previous file with comments | « blimp/engine/testing/app/test_blimp_content_main_delegate.cc ('k') | blimp/engine/testing/session/test_blimp_engine_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698