summaryrefslogtreecommitdiffstats
path: root/chromecast/common/global_descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromecast/common/global_descriptors.h')
-rw-r--r--chromecast/common/global_descriptors.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chromecast/common/global_descriptors.h b/chromecast/common/global_descriptors.h
new file mode 100644
index 0000000..cbbbb2c
--- /dev/null
+++ b/chromecast/common/global_descriptors.h
@@ -0,0 +1,21 @@
+// Copyright 2014 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 CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_
+#define CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_
+
+#include "content/public/common/content_descriptors.h"
+
+// This is a list of global descriptor keys to be used with the
+// base::GlobalDescriptors object (see base/posix/global_descriptors.h)
+enum {
+ // TODO(gunsch): Remove once there's a real value here. Otherwise, non-Android
+ // build compile fails due to empty enum.
+ kDummyValue = kContentIPCDescriptorMax + 1,
+#if defined(OS_ANDROID)
+ kAndroidPakDescriptor,
+#endif // defined(OS_ANDROID)
+};
+
+#endif // CHROMECAST_COMMON_GLOBAL_DESCRIPTORS_H_