1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
6 #define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
10 #include "content/common/content_export.h"
14 // Defines the different process types.
15 // NOTE: Do not remove or reorder the elements in this enum, and only add new
16 // items at the end, right before MAX_PROCESS. We depend on these specific
17 // values in histograms.
19 PROCESS_TYPE_UNKNOWN
= 1,
21 PROCESS_TYPE_RENDERER
,
24 PROCESS_TYPE_NACL_LOADER
,
26 PROCESS_TYPE_PROFILE_IMPORT
,
28 PROCESS_TYPE_SANDBOX_HELPER
,
29 PROCESS_TYPE_NACL_BROKER
,
31 PROCESS_TYPE_PPAPI_PLUGIN
,
32 PROCESS_TYPE_PPAPI_BROKER
,
36 // Returns an English name of the process type, should only be used for non
37 // user-visible strings, or debugging pages like about:memory.
38 CONTENT_EXPORT
std::string
GetProcessTypeNameInEnglish(ProcessType type
);
40 } // namespace content
42 #endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_