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..b90c8e9030cf77b9610701cc92d387ecb79a25df |
--- /dev/null |
+++ b/athena/main/athena_main.cc |
@@ -0,0 +1,29 @@ |
+// 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/shell_delegate.h" |
+#include "content/public/app/content_main.h" |
+ |
+class AthenaShellDelegate : public apps::ShellDelegate { |
+ public: |
+ AthenaShellDelegate() {} |
+ virtual ~AthenaShellDelegate() {} |
+ |
+ virtual void Start(content::BrowserContext* context) OVERRIDE {} |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(AthenaShellDelegate); |
+}; |
+ |
+int main(int argc, const char** argv) { |
+ AthenaShellDelegate shell_delegate; |
+ apps::ShellMainDelegate delegate(&shell_delegate); |
+ content::ContentMainParams params(&delegate); |
+ |
+ params.argc = argc; |
+ params.argv = argv; |
+ |
+ return content::ContentMain(params); |
+} |