diff options
author | yael.aharon@intel.com <yael.aharon@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-04 14:44:32 +0000 |
---|---|---|
committer | yael.aharon@intel.com <yael.aharon@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-04 14:44:32 +0000 |
commit | d5d383253e80a04c5f5723605c230ea4b3d5472c (patch) | |
tree | 5737e3fece9f2670621ca3f34cc8d4349c67dbdf /components | |
parent | 3d5358ca2c7561ddf646ded9b823febd76ef0f91 (diff) | |
download | chromium_src-d5d383253e80a04c5f5723605c230ea4b3d5472c.zip chromium_src-d5d383253e80a04c5f5723605c230ea4b3d5472c.tar.gz chromium_src-d5d383253e80a04c5f5723605c230ea4b3d5472c.tar.bz2 |
Change ChromeProcessType to NaClProcessType.
ChromeProcessType defines the NaCl broker and loader processes, and they should be moved with the rest of NaCl code.
Many files include chrome_process_type.h when they should really include content/public/common/process_type.h. Since chrome_process_type.h was removed, these files were modified to include process_type.h from content.
This is part of an effort to componentize NaCl code.
BUG=244791
Review URL: https://chromiumcodereview.appspot.com/17419009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/nacl/common/nacl_process_type.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/nacl/common/nacl_process_type.h b/components/nacl/common/nacl_process_type.h new file mode 100644 index 0000000..779cc80 --- /dev/null +++ b/components/nacl/common/nacl_process_type.h @@ -0,0 +1,18 @@ +// Copyright 2013 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 COMPONENTS_NACL_COMMON_NACL_PROCESS_TYPE_H_ +#define COMPONENTS_NACL_COMMON_NACL_PROCESS_TYPE_H_ + +#include "content/public/common/process_type.h" + +// Defines the process types that are custom to NaCl. +enum NaClProcessType { + // Start at +1 because we removed an unused value and didn't want to change + // the IDs as they're used in UMA (see the comment for ProcessType). + PROCESS_TYPE_NACL_LOADER = content::PROCESS_TYPE_CONTENT_END + 1, + PROCESS_TYPE_NACL_BROKER, +}; + +#endif // COMPONENTS_NACL_COMMON_NACL_PROCESS_TYPE_H_ |