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

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

Issue 10411059: Don't pass class types across EXE/DLL boundaries for SetCommandLine() and SetExperimentList(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a comment Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/breakpad_field_trial_win.cc ('k') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <string> 10 #include <string>
(...skipping 24 matching lines...) Expand all
35 void InitCrashReporter(); 35 void InitCrashReporter();
36 36
37 // Intercepts a crash but does not process it, just ask if we want to restart 37 // Intercepts a crash but does not process it, just ask if we want to restart
38 // the browser or not. 38 // the browser or not.
39 void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter); 39 void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter);
40 40
41 // If chrome has been restarted because it crashed, this function will display 41 // If chrome has been restarted because it crashed, this function will display
42 // a dialog asking for permission to continue execution or to exit now. 42 // a dialog asking for permission to continue execution or to exit now.
43 bool ShowRestartDialogIfCrashed(bool* exit_now); 43 bool ShowRestartDialogIfCrashed(bool* exit_now);
44 44
45 // Helper to convert a vector of wstrings to corresponding vector of cstrings.
46 // Note that |cstrings| will reference memory owned by |wstrings|. Consequently
47 // |wstrings| must outlive |cstrings|, and |wstrings| should not be mutated.
48 void StringVectorToCStringVector(const std::vector<std::wstring>& wstrings,
49 std::vector<const wchar_t*>* cstrings);
50
45 namespace testing { 51 namespace testing {
46 52
47 // Testing entry point for calling a function from the unnamed namespace. 53 // Testing entry point for calling a function from the unnamed namespace.
48 void InitCustomInfoEntries(); 54 void InitCustomInfoEntries();
49 55
50 } 56 }
51 57
52 #endif // CHROME_APP_BREAKPAD_WIN_H_ 58 #endif // CHROME_APP_BREAKPAD_WIN_H_
OLDNEW
« no previous file with comments | « chrome/app/breakpad_field_trial_win.cc ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698