1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // The entry point for all Mac Chromium processes, including the outer app
6 // bundle (browser) and helper app (renderer, plugin, and friends).
11 int ChromeMain(int argc, char** argv);
14 __attribute__((visibility("default")))
15 int main(int argc, char* argv[]) {
16 int rv = ChromeMain(argc, argv);
18 // exit, don't return from main, to avoid the apparent removal of main from
19 // stack backtraces under tail call optimization.