17dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// Copyright 2013 The Chromium Authors. All rights reserved.
27dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// Use of this source code is governed by a BSD-style license that can be
37dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// found in the LICENSE file.
47dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch
57dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#include "content/shell/app/shell_content_main.h"
67dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch
77dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#include "content/public/app/content_main.h"
87dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#include "content/shell/app/shell_main_delegate.h"
97dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch
107dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#if defined(OS_MACOSX)
117dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochint ContentMain(int argc,
127dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch                const char** argv) {
137dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch  content::ShellMainDelegate delegate;
14a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)  content::ContentMainParams params(&delegate);
15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)  params.argc = argc;
16a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)  params.argv = argv;
17a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)  return content::ContentMain(params);
187dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch}
197dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#endif  // OS_MACOSX
20