Index: athena/main/athena_main.cc |
diff --git a/athena/main/athena_main.cc b/athena/main/athena_main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..20014b41f12f4b4c8316118ab5a7e2b42e9f1fda |
--- /dev/null |
+++ b/athena/main/athena_main.cc |
@@ -0,0 +1,22 @@ |
+// 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 "apps/shell/app/shell_main_delegate.h" |
+#include "apps/shell/common/start_callback.h" |
+#include "base/bind.h" |
+#include "content/public/app/content_main.h" |
+ |
+void Start(content::BrowserContext* context) { |
+} |
+ |
+int main(int argc, const char** argv) { |
+ apps::StartCallback shell_delegate(base::Bind(&Start)); |
+ apps::ShellMainDelegate delegate(&shell_delegate); |
+ content::ContentMainParams params(&delegate); |
+ |
+ params.argc = argc; |
+ params.argv = argv; |
+ |
+ return content::ContentMain(params); |
+} |