Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: media/base/crash_keys.h

Issue 1849413003: Define crash keys in the directory hierarchy where they are used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with head Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/crash_keys.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698