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

Side by Side Diff: components/crash/app/breakpad_win.h

Issue 919893002: Replace handles that the handle closer closes with dummy Events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only change win Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/app/client_util.cc ('k') | components/crash/app/breakpad_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ 5 #ifndef COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_
6 #define COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ 6 #define COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 namespace breakpad { 12 namespace breakpad {
13 13
14 void InitCrashReporter(const std::string& process_type_switch); 14 void InitCrashReporter(const std::string& process_type_switch);
15 15
16 // If chrome has been restarted because it crashed, this function will display 16 // If chrome has been restarted because it crashed, this function will display
17 // a dialog asking for permission to continue execution or to exit now. 17 // a dialog asking for permission to continue execution or to exit now.
18 bool ShowRestartDialogIfCrashed(bool* exit_now); 18 bool ShowRestartDialogIfCrashed(bool* exit_now);
19 19
20 // Shuts down Breakpad.
Robert Sesek 2015/02/12 19:18:04 "Should be called immediately before exiting, afte
Will Harris 2015/02/12 20:38:49 Done.
21 void ShutdownCrashReporter();
Robert Sesek 2015/02/12 19:18:04 nit: blank line after
Will Harris 2015/02/12 20:38:49 Done.
20 } // namespace breakpad 22 } // namespace breakpad
21 23
22 #endif // COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_ 24 #endif // COMPONENTS_CRASH_APP_BREAKPAD_WIN_H_
OLDNEW
« no previous file with comments | « chrome/app/client_util.cc ('k') | components/crash/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698