// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ #define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_ #include <string> #include "content/common/content_export.h" namespace content { // Defines the different process types. // NOTE: Do not remove or reorder the elements in this enum, and only add new // items at the end, right before PROCESS_TYPE_MAX. We depend on these specific // values in histograms. enum ProcessType { … }; // Returns an English name of the process type, should only be used for non // user-visible strings or debugging pages. CONTENT_EXPORT std::string GetProcessTypeNameInEnglish(int type); } // namespace content #endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_