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

Unified Diff: components/crash/core/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 | « chrome/common/crash_keys.cc ('k') | components/crash/core/common/crash_keys.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/core/common/crash_keys.h
diff --git a/components/crash/core/common/crash_keys.h b/components/crash/core/common/crash_keys.h
index fdd1ee53f745296ee36d4e4004c77ac032ba32d1..7da503c4415611b644a7f3846c16c7f9bbedda17 100644
--- a/components/crash/core/common/crash_keys.h
+++ b/components/crash/core/common/crash_keys.h
@@ -19,6 +19,7 @@ class CommandLine;
namespace crash_keys {
+
// Sets the ID (which may either be a full GUID or a GUID that was already
// stripped from its dashes -- in either case this method will strip remaining
// dashes before setting the crash key).
@@ -32,6 +33,9 @@ void SetVariationsList(const std::vector<std::string>& variations);
void GetCrashKeysForCommandLineSwitches(
std::vector<base::debug::CrashKey>* keys);
+// Appends crash keys used under //components/crash to |keys|.
+void AppendCrashCrashKeys(std::vector<base::debug::CrashKey>* keys);
+
// A function returning true if |flag| is a switch that should be filtered out
// of crash keys.
using SwitchFilterFunction = bool (*)(const std::string& flag);
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | components/crash/core/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698