| 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_
|
|
|