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

Unified Diff: components/crash/app/crash_reporter_client.h

Issue 1000203007: Set a "metrics_client_id" crash key instead of "guid" on Mac OS X (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove sentencelet Created 5 years, 9 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 | « components/crash/app/breakpad_mac.mm ('k') | components/crash/app/crash_reporter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/crash_reporter_client.h
diff --git a/components/crash/app/crash_reporter_client.h b/components/crash/app/crash_reporter_client.h
index af816efc87f1309f49289532f55f7513e52a57d0..cff8b7e703e46ebde8de38807889c48eb1fd1da6 100644
--- a/components/crash/app/crash_reporter_client.h
+++ b/components/crash/app/crash_reporter_client.h
@@ -45,11 +45,16 @@ class CrashReporterClient {
CrashReporterClient();
virtual ~CrashReporterClient();
+#if !defined(OS_MACOSX)
// Sets the crash reporting client ID, a unique identifier for the client
// that is sending crash reports. After it is set, it should not be changed.
// |client_guid| may either be a full GUID or a GUID that was already stripped
// from its dashes.
+ //
+ // On Mac OS X, this is the responsibility of Crashpad, and can not be set
+ // directly by the client.
virtual void SetCrashReporterClientIdFromGUID(const std::string& client_guid);
+#endif
#if defined(OS_WIN)
// Returns true if an alternative location to store the minidump files was
« no previous file with comments | « components/crash/app/breakpad_mac.mm ('k') | components/crash/app/crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698