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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.cc

Issue 2134003002: service worker: Fix crash keys instrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mt Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_dispatcher_host.cc
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
index 08cb58c226d5954efe68e29b9947641ced858272..c557be4c0497c838b5a7f0fe62d885cdc3c7c0be 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
@@ -259,9 +259,10 @@ bool ServiceWorkerDispatcherHost::OnMessageReceived(
EmbeddedWorkerInstance* worker =
GetContext()->embedded_worker_registry()->GetWorkerForMessage(
render_process_id_, message.routing_id());
- base::debug::ScopedCrashKey("swdh_not_handled_message_type",
- GetIPCMessageTypeAsString(message.type()));
- base::debug::ScopedCrashKey(
+ base::debug::ScopedCrashKey type_key(
+ "swdh_not_handled_message_type",
+ GetIPCMessageTypeAsString(message.type()));
+ base::debug::ScopedCrashKey status_key(
"swdh_not_handled_worker_status",
EmbeddedWorkerInstance::StatusToString(worker->status()));
bad_message::ReceivedBadMessage(this, bad_message::SWDH_NOT_HANDLED);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698