diff options
Diffstat (limited to 'chrome/app/breakpad_win.cc')
-rw-r--r-- | chrome/app/breakpad_win.cc | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc index b77b368..6a7f9f8 100644 --- a/chrome/app/breakpad_win.cc +++ b/chrome/app/breakpad_win.cc @@ -104,7 +104,6 @@ char* g_real_terminate_process_stub = NULL; static size_t g_client_id_offset = 0; static size_t g_printer_info_offset = 0; -static size_t g_num_of_views_offset = 0; static size_t g_num_switches_offset = 0; static size_t g_switches_offset = 0; static size_t g_dynamic_keys_offset = 0; @@ -477,21 +476,11 @@ google_breakpad::CustomClientInfo* GetCustomInfo(const std::wstring& exe_path, CommandLine::ForCurrentProcess()->argv(), &switches); SetCommandLine2(&switches[0], switches.size()); - if (type == L"renderer" || type == L"plugin" || type == L"ppapi" || - type == L"gpu-process") { - g_num_of_views_offset = g_custom_entries->size(); - g_custom_entries->push_back( - google_breakpad::CustomInfoEntry(L"num-views", L"")); - - if (type == L"plugin" || type == L"ppapi") { - std::wstring plugin_path = - CommandLine::ForCurrentProcess()->GetSwitchValueNative("plugin-path"); - if (!plugin_path.empty()) - SetPluginPath(plugin_path); - } - } else { - g_custom_entries->push_back( - google_breakpad::CustomInfoEntry(L"num-views", L"N/A")); + if (type == L"plugin" || type == L"ppapi") { + std::wstring plugin_path = + CommandLine::ForCurrentProcess()->GetSwitchValueNative("plugin-path"); + if (!plugin_path.empty()) + SetPluginPath(plugin_path); } // Check whether configuration management controls crash reporting. @@ -655,11 +644,6 @@ extern "C" void __declspec(dllexport) __cdecl SetPrinterInfo( } } -extern "C" void __declspec(dllexport) __cdecl SetNumberOfViews( - int number_of_views) { - SetIntegerValue(g_num_of_views_offset, number_of_views); -} - // NOTE: This function is used by SyzyASAN to annotate crash reports. If you // change the name or signature of this function you will break SyzyASAN // instrumented releases of Chrome. Please contact syzygy-team@chromium.org |