diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 00:08:09 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-25 00:08:09 +0000 |
commit | dc1b5a682cbf791f48638f326ed32adfe0d64544 (patch) | |
tree | 4b09788cd2ecdf45949b1a6802f6e2ce7f3a0fdb /chrome/common/child_process_logging_win.cc | |
parent | 03abea0ff55e55af1d5bf88443a531ad7814b9a7 (diff) | |
download | chromium_src-dc1b5a682cbf791f48638f326ed32adfe0d64544.zip chromium_src-dc1b5a682cbf791f48638f326ed32adfe0d64544.tar.gz chromium_src-dc1b5a682cbf791f48638f326ed32adfe0d64544.tar.bz2 |
Rename some chrome.exe exports: SetCommandLine --> SetCommandLine2, SetExperimentList --> SetExperimentList2.
This will avoid mismatched parameter expectations when there is version shear, since their implementations were recently changed.
BUG=129390,128541
Review URL: https://chromiumcodereview.appspot.com/10422019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138935 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_logging_win.cc')
-rw-r--r-- | chrome/common/child_process_logging_win.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/child_process_logging_win.cc b/chrome/common/child_process_logging_win.cc index 19b3f78..36a37d4 100644 --- a/chrome/common/child_process_logging_win.cc +++ b/chrome/common/child_process_logging_win.cc @@ -48,11 +48,11 @@ typedef void (__cdecl *MainSetPrinterInfo)(const wchar_t*); typedef void (__cdecl *MainSetNumberOfViews)(int); // exported in breakpad_win.cc: -// void __declspec(dllexport) __cdecl SetCommandLine +// void __declspec(dllexport) __cdecl SetCommandLine2 typedef void (__cdecl *MainSetCommandLine)(const wchar_t**, size_t); // exported in breakpad_field_trial_win.cc: -// void __declspec(dllexport) __cdecl SetExperimentList +// void __declspec(dllexport) __cdecl SetExperimentList2 typedef void (__cdecl *MainSetExperimentList)(const wchar_t**, size_t); // Copied from breakpad_win.cc. @@ -199,7 +199,7 @@ void SetCommandLine(const CommandLine* command_line) { if (!exe_module) return; set_command_line = reinterpret_cast<MainSetCommandLine>( - GetProcAddress(exe_module, "SetCommandLine")); + GetProcAddress(exe_module, "SetCommandLine2")); if (!set_command_line) return; } @@ -217,7 +217,7 @@ void SetExperimentList(const std::vector<string16>& state) { if (!exe_module) return; set_experiment_list = reinterpret_cast<MainSetExperimentList>( - GetProcAddress(exe_module, "SetExperimentList")); + GetProcAddress(exe_module, "SetExperimentList2")); if (!set_experiment_list) return; } |