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

Unified Diff: chrome/browser/task_profiler/task_profiler_data_serializer.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
Index: chrome/browser/task_profiler/task_profiler_data_serializer.cc
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.cc b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
index 2c8356d41becfce74254b0f04a64f349ccc84e59..34d9ed04d6f2e6d35e5a28df9edc53f599c82364 100644
--- a/chrome/browser/task_profiler/task_profiler_data_serializer.cc
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
@@ -79,13 +79,12 @@ int AsChromeProcessType(
metrics::ProfilerEventProto::TrackedObject::ProcessType process_type) {
switch (process_type) {
case metrics::ProfilerEventProto::TrackedObject::UNKNOWN:
+ case metrics::ProfilerEventProto::TrackedObject::PLUGIN:
return content::PROCESS_TYPE_UNKNOWN;
case metrics::ProfilerEventProto::TrackedObject::BROWSER:
return content::PROCESS_TYPE_BROWSER;
case metrics::ProfilerEventProto::TrackedObject::RENDERER:
return content::PROCESS_TYPE_RENDERER;
- case metrics::ProfilerEventProto::TrackedObject::PLUGIN:
- return content::PROCESS_TYPE_PLUGIN;
case metrics::ProfilerEventProto::TrackedObject::WORKER:
return content::PROCESS_TYPE_WORKER_DEPRECATED;
case metrics::ProfilerEventProto::TrackedObject::NACL_LOADER:
« no previous file with comments | « chrome/browser/task_manager/child_process_resource_provider.cc ('k') | chrome/browser/ui/webui/plugins/plugins_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698