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

Unified Diff: content/public/common/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 | « content/public/common/DEPS ('k') | content/public/common/crash_keys.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/crash_keys.h
diff --git a/content/public/common/crash_keys.h b/content/public/common/crash_keys.h
new file mode 100644
index 0000000000000000000000000000000000000000..fa23df8395be399ef624ed7803eacecef54af1b5
--- /dev/null
+++ b/content/public/common/crash_keys.h
@@ -0,0 +1,60 @@
+// 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 CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_
+#define CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_
+
+#include <vector>
+
+#include "base/debug/crash_logging.h"
+#include "build/build_config.h"
+#include "content/common/content_export.h"
+
+namespace crash_keys {
+
+// Crash keys
+extern const char kDiscardableMemoryAllocated[];
+extern const char kDiscardableMemoryFree[];
+extern const char kFontKeyName[];
+extern const char kPpapiPath[];
+extern const char kSubresourceUrl[];
+extern const char kTotalDiscardableMemoryAllocated[];
+
+#if defined(OS_MACOSX)
+extern const char kChannelErrorBt[];
+extern const char kRemoveRouteBt[];
+extern const char kRwhvmWindow[];
+#endif
+
+// Temporary for http://crbug.com/575245
+extern const char kSwapoutFrameId[];
+extern const char kSwapoutProxyId[];
+extern const char kSwapoutViewId[];
+extern const char kCommitFrameId[];
+extern const char kCommitProxyId[];
+extern const char kCommitViewId[];
+extern const char kCommitMainRenderFrameId[];
+extern const char kNewproxyProxyId[];
+extern const char kNewproxyViewId[];
+extern const char kNewproxyOpenerId[];
+extern const char kNewproxyParentId[];
+extern const char kRvinitViewId[];
+extern const char kRvinitProxyId[];
+extern const char kRvinitMainFrameId[];
+extern const char kInitrfFrameId[];
+extern const char kInitrfViewId[];
+extern const char kInitrfMainFrameId[];
+extern const char kInitrfViewIsLive[];
+
+// Temporary for http://crbug.com/591478
+extern const char kInitrfParentProxyExists[];
+extern const char kInitrfRenderViewIsLive[];
+
+// Appends crash keys used under //content to |keys|.
+CONTENT_EXPORT void AppendContentCrashKeys(
+ std::vector<base::debug::CrashKey>* keys);
+
+} // namespace crash_keys
+
+#endif // CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_
« no previous file with comments | « content/public/common/DEPS ('k') | content/public/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698