Index: chromecast/common/global_descriptors.h |
diff --git a/chromecast/common/global_descriptors.h b/chromecast/common/global_descriptors.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cbbbb2ce930e81c38230c974c5b6a2e2aef04238 |
--- /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_ |