Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #include "build/build_config.h" | |
| 6 | |
| 7 // The entry point for all invocations of Chromium, browser and renderer. On | |
| 8 // windows, this does nothing but load chrome.dll and invoke its entry point in | |
| 9 // order to make it easy to update the app from GoogleUpdate. We don't need | |
| 10 // that extra layer with on linux. | |
| 11 | |
| 12 extern "C" { | |
| 13 int ChromeMain(int argc, const char** argv); | |
| 14 } | |
| 15 | |
| 16 int main(int argc, const char** argv) { | |
| 17 int return_code = ChromeMain(argc, argv); | |
|
sky
2011/09/30 16:31:19
nit: can this be:
return ChromeMain(argc, argv)?
| |
| 18 | |
| 19 return return_code; | |
| 20 } | |
| OLD | NEW |