Chromium Code Reviews| Index: chrome/app/chrome_exe_main_aura.cc |
| diff --git a/chrome/app/chrome_exe_main_aura.cc b/chrome/app/chrome_exe_main_aura.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d95460e693f72d66eeb9ba10c4e31a3795c6ac0b |
| --- /dev/null |
| +++ b/chrome/app/chrome_exe_main_aura.cc |
| @@ -0,0 +1,20 @@ |
| +// Copyright (c) 2011 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 "build/build_config.h" |
| + |
| +// The entry point for all invocations of Chromium, browser and renderer. On |
| +// windows, this does nothing but load chrome.dll and invoke its entry point in |
| +// order to make it easy to update the app from GoogleUpdate. We don't need |
| +// that extra layer with on linux. |
| + |
| +extern "C" { |
| +int ChromeMain(int argc, const char** argv); |
| +} |
| + |
| +int main(int argc, const char** argv) { |
| + int return_code = ChromeMain(argc, argv); |
|
sky
2011/09/30 16:31:19
nit: can this be:
return ChromeMain(argc, argv)?
|
| + |
| + return return_code; |
| +} |