Index: media/base/crash_keys.h |
diff --git a/media/base/crash_keys.h b/media/base/crash_keys.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1b73f41e81913a85be7e0c9f14d42c8f6009b84c |
--- /dev/null |
+++ b/media/base/crash_keys.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2016 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 MEDIA_BASE_CRASH_KEYS_H_ |
+#define MEDIA_BASE_CRASH_KEYS_H_ |
+ |
+#include <vector> |
+ |
+#include "base/debug/crash_logging.h" |
+#include "build/build_config.h" |
+#include "media/base/media_export.h" |
+ |
+namespace crash_keys { |
+ |
+// Crash keys |
+#if defined(OS_WIN) |
+extern const char kHungAudioThreadDetails[]; |
+#endif |
+extern const char kZeroEncodeDetails[]; |
+ |
+// Appends crash keys used under //media to |keys|. |
+MEDIA_EXPORT void AppendMediaCrashKeys( |
+ std::vector<base::debug::CrashKey>* keys); |
+ |
+} // namespace crash_keys |
+ |
+#endif // MEDIA_BASE_CRASH_KEYS_H_ |