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

Side by Side Diff: chrome/app/breakpad_win.h

Issue 457028: Ok, here is a different approach at this change. (Closed)
Patch Set: Be even more paranoid Created 11 years 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 | « no previous file | chrome/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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_APP_BREAKPAD_WIN_H_ 5 #ifndef CHROME_APP_BREAKPAD_WIN_H_
6 #define CHROME_APP_BREAKPAD_WIN_H_ 6 #define CHROME_APP_BREAKPAD_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10 10
11 // The maximum number of 64-char URL chunks we will report.
12 static const int kMaxUrlChunks = 8;
13
14 // The maximum number of active extensions we will report.
15 static const int kMaxReportedActiveExtensions = 10;
16
11 // Calls InitCrashReporterThread in it's own thread for the browser process 17 // Calls InitCrashReporterThread in it's own thread for the browser process
12 // or directly for the plugin and renderer process. 18 // or directly for the plugin and renderer process.
13 void InitCrashReporterWithDllPath(const std::wstring& dll_path); 19 void InitCrashReporterWithDllPath(const std::wstring& dll_path);
14 20
15 // Intercepts a crash but does not process it, just ask if we want to restart 21 // Intercepts a crash but does not process it, just ask if we want to restart
16 // the browser or not. 22 // the browser or not.
17 void InitDefaultCrashCallback(); 23 void InitDefaultCrashCallback();
18 24
19 // If chrome has been restarted because it crashed, this function will display 25 // If chrome has been restarted because it crashed, this function will display
20 // a dialog asking for permission to continue execution or to exit now. 26 // a dialog asking for permission to continue execution or to exit now.
21 bool ShowRestartDialogIfCrashed(bool* exit_now); 27 bool ShowRestartDialogIfCrashed(bool* exit_now);
22 28
23 #endif // CHROME_APP_BREAKPAD_WIN_H_ 29 #endif // CHROME_APP_BREAKPAD_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698