summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_mac.mm
blob: c6c43815148d16962a12f15c6be43c2406bd5dce (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2006-2008 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 <Cocoa/Cocoa.h>
#include "base/command_line.h"
#include <crt_externs.h>

int StartPlatformMessageLoop() {
  return NSApplicationMain(*_NSGetArgc(), (const char**)*_NSGetArgv());
}