summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/common/chrome_descriptors.h
blob: 50081e760befe1bbe510f355e4ed735c2e5af628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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 CHROME_COMMON_CHROME_DESCRIPTORS_H_
#define CHROME_COMMON_CHROME_DESCRIPTORS_H_

#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "content/public/common/content_descriptors.h"

enum {
#if BUILDFLAG(IS_ANDROID)
  kAndroidLocalePakDescriptor = kContentIPCDescriptorMax + 1,
  kAndroidSecondaryLocalePakDescriptor,
  kAndroidChrome100PercentPakDescriptor,
  kAndroidUIResourcesPakDescriptor,
  // DFMs with native resources typically do not share file descriptors with
  // child processes. Hence no corresponding *PakDescriptor is defined.
  kAndroidMinidumpDescriptor,

#elif BUILDFLAG(IS_CHROMEOS_LACROS)
  kCrosStartupDataDescriptor = kContentIPCDescriptorMax + 1,
  kCrosPostLoginDataDescriptor,
#endif
};

#endif  // CHROME_COMMON_CHROME_DESCRIPTORS_H_