global_descriptors.h 834 B

1234567891011121314151617181920212223
  1. // Copyright 2014 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. #ifndef CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_
  5. #define CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_
  6. #include "build/build_config.h"
  7. #include "content/public/common/content_descriptors.h"
  8. // This is a list of global descriptor keys to be used with the
  9. // base::GlobalDescriptors object (see base/posix/global_descriptors.h)
  10. enum {
  11. // TODO(gunsch): Remove once there's a real value here. Otherwise, non-Android
  12. // build compile fails due to empty enum.
  13. kDummyValue = kContentIPCDescriptorMax + 1,
  14. #if BUILDFLAG(IS_ANDROID)
  15. kAndroidPakDescriptor,
  16. kAndroidMinidumpDescriptor,
  17. #endif // BUILDFLAG(IS_ANDROID)
  18. };
  19. #endif // CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_