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
3 // found in the LICENSE file.
6 using System.Collections.Generic;
9 using System.Threading.Tasks;
11 namespace ChromeDebug {
12 internal enum ProcessCategory {
23 // Defines an extension method for the ProcessCategory enum which converts the enum value into
25 internal static class ProcessCategoryExtensions {
26 public static string ToGroupTitle(this ProcessCategory category) {
28 case ProcessCategory.DelegateExecute:
29 return "Delegate Execute";
30 case ProcessCategory.MetroViewer:
31 return "Metro Viewer";
33 return category.ToString();