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

Side by Side Diff: chrome/app/chrome_crash_reporter_client_win.cc

Issue 2486673007: Revert of Add crash keys to TaskQueueManager::ProcessTaskFromWorkQueue (Closed)
Patch Set: Created 4 years, 1 month 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 | « blimp/engine/app/blimp_engine_crash_keys.cc ('k') | chrome/common/crash_keys.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // TODO(ananta/scottmg) 5 // TODO(ananta/scottmg)
6 // Add test coverage for Crashpad. 6 // Add test coverage for Crashpad.
7 #include "chrome/app/chrome_crash_reporter_client_win.h" 7 #include "chrome/app/chrome_crash_reporter_client_win.h"
8 8
9 #include <assert.h> 9 #include <assert.h>
10 #include <windows.h> 10 #include <windows.h>
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 {"swdh_register_cannot_scope_url", crash_keys::kLargeSize}, 188 {"swdh_register_cannot_scope_url", crash_keys::kLargeSize},
189 {"swdh_register_cannot_script_url", crash_keys::kLargeSize}, 189 {"swdh_register_cannot_script_url", crash_keys::kLargeSize},
190 190
191 // Temporary for https://crbug.com/619294. 191 // Temporary for https://crbug.com/619294.
192 {"swdh_unregister_cannot_host_url", crash_keys::kLargeSize}, 192 {"swdh_unregister_cannot_host_url", crash_keys::kLargeSize},
193 {"swdh_unregister_cannot_scope_url", crash_keys::kLargeSize}, 193 {"swdh_unregister_cannot_scope_url", crash_keys::kLargeSize},
194 194
195 // Temporary for https://crbug.com/630496. 195 // Temporary for https://crbug.com/630496.
196 {"swdh_get_registration_cannot_host_url", crash_keys::kLargeSize}, 196 {"swdh_get_registration_cannot_host_url", crash_keys::kLargeSize},
197 {"swdh_get_registration_cannot_document_url", crash_keys::kLargeSize}, 197 {"swdh_get_registration_cannot_document_url", crash_keys::kLargeSize},
198
199 // Temporary for https://crbug.com/660427.
200 {"blink_scheduler_task_function_name", crash_keys::kMediumSize},
201 {"blink_scheduler_task_file_name", crash_keys::kMediumSize},
202 }; 198 };
203 199
204 // This dynamic set of keys is used for sets of key value pairs when gathering 200 // This dynamic set of keys is used for sets of key value pairs when gathering
205 // a collection of data, like command line switches or extension IDs. 201 // a collection of data, like command line switches or extension IDs.
206 std::vector<base::debug::CrashKey> keys(fixed_keys, 202 std::vector<base::debug::CrashKey> keys(fixed_keys,
207 fixed_keys + arraysize(fixed_keys)); 203 fixed_keys + arraysize(fixed_keys));
208 204
209 crash_keys::GetCrashKeysForCommandLineSwitches(&keys); 205 crash_keys::GetCrashKeysForCommandLineSwitches(&keys);
210 206
211 // Register the extension IDs. 207 // Register the extension IDs.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 bool ChromeCrashReporterClient::GetCollectStatsInSample() { 397 bool ChromeCrashReporterClient::GetCollectStatsInSample() {
402 return install_static::GetCollectStatsInSample(); 398 return install_static::GetCollectStatsInSample();
403 } 399 }
404 400
405 bool ChromeCrashReporterClient::EnableBreakpadForProcess( 401 bool ChromeCrashReporterClient::EnableBreakpadForProcess(
406 const std::string& process_type) { 402 const std::string& process_type) {
407 return process_type == install_static::kRendererProcess || 403 return process_type == install_static::kRendererProcess ||
408 process_type == install_static::kPpapiPluginProcess || 404 process_type == install_static::kPpapiPluginProcess ||
409 process_type == install_static::kGpuProcess; 405 process_type == install_static::kGpuProcess;
410 } 406 }
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_engine_crash_keys.cc ('k') | chrome/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698