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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/breakpad_field_trial_win.cc ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_win.h
diff --git a/chrome/app/breakpad_win.h b/chrome/app/breakpad_win.h
index 319079273b53808a109cc8b90febf3d340e67537..4245ec3ef955ac1bb846556a8fa089fb03ab34fa 100644
--- a/chrome/app/breakpad_win.h
+++ b/chrome/app/breakpad_win.h
@@ -42,6 +42,12 @@ void InitDefaultCrashCallback(LPTOP_LEVEL_EXCEPTION_FILTER filter);
// a dialog asking for permission to continue execution or to exit now.
bool ShowRestartDialogIfCrashed(bool* exit_now);
+// Helper to convert a vector of wstrings to corresponding vector of cstrings.
+// Note that |cstrings| will reference memory owned by |wstrings|. Consequently
+// |wstrings| must outlive |cstrings|, and |wstrings| should not be mutated.
+void StringVectorToCStringVector(const std::vector<std::wstring>& wstrings,
+ std::vector<const wchar_t*>* cstrings);
+
namespace testing {
// Testing entry point for calling a function from the unnamed namespace.
« 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