Index: chromecast/shell/app/cast_main.cc |
diff --git a/chromecast/shell/app/cast_main.cc b/chromecast/shell/app/cast_main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b731b9697253f7e8250eeb03bf8cf01d19c0440 |
--- /dev/null |
+++ b/chromecast/shell/app/cast_main.cc |
@@ -0,0 +1,14 @@ |
+// Copyright 2014 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 "chromecast/shell/app/cast_main_delegate.h" |
+#include "content/public/app/content_main.h" |
+ |
+int main(int argc, const char** argv) { |
+ chromecast::shell::CastMainDelegate delegate; |
+ content::ContentMainParams params(&delegate); |
+ params.argc = argc; |
+ params.argv = argv; |
+ return content::ContentMain(params); |
+} |