Commit 9def7f1b authored by ssid's avatar ssid Committed by Chromium LUCI CQ

Add network service thread in tracing

Change-Id: I160ed2450bdc3b99e1ac7047a75e69928b8f679a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622893
Commit-Queue: ssid <ssid@chromium.org>
Commit-Queue: oysteine <oysteine@chromium.org>
Auto-Submit: ssid <ssid@chromium.org>
Reviewed-by: default avataroysteine <oysteine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842277}
parent 2667836e
...@@ -133,6 +133,8 @@ ChromeThreadDescriptor::ThreadType GetThreadType( ...@@ -133,6 +133,8 @@ ChromeThreadDescriptor::ThreadType GetThreadType(
return ChromeThreadDescriptor::THREAD_MAIN; return ChromeThreadDescriptor::THREAD_MAIN;
} else if (base::MatchPattern(thread_name, "Chrome*IOThread")) { } else if (base::MatchPattern(thread_name, "Chrome*IOThread")) {
return ChromeThreadDescriptor::THREAD_IO; return ChromeThreadDescriptor::THREAD_IO;
} else if (base::MatchPattern(thread_name, "NetworkService")) {
return ChromeThreadDescriptor::THREAD_NETWORK_SERVICE;
} else if (base::MatchPattern(thread_name, "ThreadPoolForegroundWorker*")) { } else if (base::MatchPattern(thread_name, "ThreadPoolForegroundWorker*")) {
return ChromeThreadDescriptor::THREAD_POOL_FG_WORKER; return ChromeThreadDescriptor::THREAD_POOL_FG_WORKER;
} else if (base::MatchPattern(thread_name, "ThreadPoolBackgroundWorker*")) { } else if (base::MatchPattern(thread_name, "ThreadPoolBackgroundWorker*")) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment