OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "base/debug/crash_logging.h" |
| 11 #include "build/build_config.h" |
| 12 #include "content/common/content_export.h" |
| 13 |
| 14 namespace crash_keys { |
| 15 |
| 16 // Crash keys |
| 17 extern const char kDiscardableMemoryAllocated[]; |
| 18 extern const char kDiscardableMemoryFree[]; |
| 19 extern const char kFontKeyName[]; |
| 20 extern const char kPpapiPath[]; |
| 21 extern const char kSubresourceUrl[]; |
| 22 extern const char kTotalDiscardableMemoryAllocated[]; |
| 23 |
| 24 #if defined(OS_MACOSX) |
| 25 extern const char kChannelErrorBt[]; |
| 26 extern const char kRemoveRouteBt[]; |
| 27 extern const char kRwhvmWindow[]; |
| 28 #endif |
| 29 |
| 30 // Temporary for http://crbug.com/575245 |
| 31 extern const char kSwapoutFrameId[]; |
| 32 extern const char kSwapoutProxyId[]; |
| 33 extern const char kSwapoutViewId[]; |
| 34 extern const char kCommitFrameId[]; |
| 35 extern const char kCommitProxyId[]; |
| 36 extern const char kCommitViewId[]; |
| 37 extern const char kCommitMainRenderFrameId[]; |
| 38 extern const char kNewproxyProxyId[]; |
| 39 extern const char kNewproxyViewId[]; |
| 40 extern const char kNewproxyOpenerId[]; |
| 41 extern const char kNewproxyParentId[]; |
| 42 extern const char kRvinitViewId[]; |
| 43 extern const char kRvinitProxyId[]; |
| 44 extern const char kRvinitMainFrameId[]; |
| 45 extern const char kInitrfFrameId[]; |
| 46 extern const char kInitrfViewId[]; |
| 47 extern const char kInitrfMainFrameId[]; |
| 48 extern const char kInitrfViewIsLive[]; |
| 49 |
| 50 // Temporary for http://crbug.com/591478 |
| 51 extern const char kInitrfParentProxyExists[]; |
| 52 extern const char kInitrfRenderViewIsLive[]; |
| 53 |
| 54 // Appends crash keys used under //content to |keys|. |
| 55 CONTENT_EXPORT void AppendContentCrashKeys( |
| 56 std::vector<base::debug::CrashKey>* keys); |
| 57 |
| 58 } // namespace crash_keys |
| 59 |
| 60 #endif // CONTENT_PUBLIC_COMMON_CRASH_KEYS_H_ |
OLD | NEW |