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

Unified Diff: content/public/common/process_type.h

Issue 8760011: Move the ProcessType enum out to its own file. This is in preparation for getting rid of ChildPro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 9 years, 1 month 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
« no previous file with comments | « content/content_common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/process_type.h
===================================================================
--- content/public/common/process_type.h (revision 0)
+++ content/public/common/process_type.h (revision 0)
@@ -0,0 +1,35 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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_
+#pragma once
+
+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 MAX_PROCESS. We depend on these specific
+// values in histograms.
+enum ProcessType {
+ PROCESS_TYPE_UNKNOWN = 1,
+ PROCESS_TYPE_BROWSER,
+ PROCESS_TYPE_RENDERER,
+ PROCESS_TYPE_PLUGIN,
+ PROCESS_TYPE_WORKER,
+ PROCESS_TYPE_NACL_LOADER,
+ PROCESS_TYPE_UTILITY,
+ PROCESS_TYPE_PROFILE_IMPORT,
+ PROCESS_TYPE_ZYGOTE,
+ PROCESS_TYPE_SANDBOX_HELPER,
+ PROCESS_TYPE_NACL_BROKER,
+ PROCESS_TYPE_GPU,
+ PROCESS_TYPE_PPAPI_PLUGIN,
+ PROCESS_TYPE_PPAPI_BROKER,
+ PROCESS_TYPE_MAX
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
Property changes on: content\public\common\process_type.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/content_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698