Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1271)

Unified Diff: chrome/app/chrome_exe_main.mm

Issue 160538: Move the entire application into a dylib (framework) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_exe_main.mm
===================================================================
--- chrome/app/chrome_exe_main.mm (revision 22482)
+++ chrome/app/chrome_exe_main.mm (working copy)
@@ -2,12 +2,6 @@
// 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/at_exit.h"
-#include "base/process_util.h"
-#import "chrome/app/breakpad_mac.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
@@ -20,22 +14,5 @@
}
int main(int argc, const char** argv) {
- base::EnableTerminationOnHeapCorruption();
-
- // The exit manager is in charge of calling the dtors of singletons.
- // Win has one here, but we assert with multiples from BrowserMain() if we
- // keep it.
- // base::AtExitManager exit_manager;
-
-#if defined(GOOGLE_CHROME_BUILD)
- InitCrashReporter();
-#endif
-
- int ret = ChromeMain(argc, argv);
-
-#if defined(GOOGLE_CHROME_BUILD)
- DestructCrashReporter();
-#endif
-
- return ret;
+ return ChromeMain(argc, argv);
}
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698