
Instead of using DllMain to start/stop crash reporting, it is now done by way of a specialization of a new ScopedInitializationManager template. Instances of this specialization are created on the stack in entrypoints to the DLL (for registration or to get a COM object). The lifetime of crash reporting is ordinarily bound to the lifetime of the ATL module. The exception to this is when the module is pinned, at which point crash reporting is also pinned. This change removes the breakpad_handler_dll target (by reverting http://crrev.com/70898) since it is no longer needed. BUG=163455 TEST=install chrome frame and notice that installation doesn't block for 1 minute while npchrome_frame.dll is registered. Review URL: https://chromiumcodereview.appspot.com/12521002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188207 0039d316-1c4b-4281-b951-d872f2087c98
Name: Breakpad, An open-source multi-platform crash reporting system Short Name: breakpad URL: http://code.google.com/p/google-breakpad/ License: New BSD, MIT/X derivate, Apple PSL 2.0 and Apache 2.0 licenses Security Critical: no This directory contains Chrome's version of Breakpad's Visual Studio build files (*.vcproj) and a compiled version of Breakpad's symupload.exe utility for Windows. Part of the upstream Breakpad project is pulled into the src/ subdirectory via DEPS.