OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace content { |
| 10 |
| 11 // Defines the different process types. |
| 12 // NOTE: Do not remove or reorder the elements in this enum, and only add new |
| 13 // items at the end, right before MAX_PROCESS. We depend on these specific |
| 14 // values in histograms. |
| 15 enum ProcessType { |
| 16 PROCESS_TYPE_UNKNOWN = 1, |
| 17 PROCESS_TYPE_BROWSER, |
| 18 PROCESS_TYPE_RENDERER, |
| 19 PROCESS_TYPE_PLUGIN, |
| 20 PROCESS_TYPE_WORKER, |
| 21 PROCESS_TYPE_NACL_LOADER, |
| 22 PROCESS_TYPE_UTILITY, |
| 23 PROCESS_TYPE_PROFILE_IMPORT, |
| 24 PROCESS_TYPE_ZYGOTE, |
| 25 PROCESS_TYPE_SANDBOX_HELPER, |
| 26 PROCESS_TYPE_NACL_BROKER, |
| 27 PROCESS_TYPE_GPU, |
| 28 PROCESS_TYPE_PPAPI_PLUGIN, |
| 29 PROCESS_TYPE_PPAPI_BROKER, |
| 30 PROCESS_TYPE_MAX |
| 31 }; |
| 32 |
| 33 } // namespace content |
| 34 |
| 35 #endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ |
OLD | NEW |