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

Unified Diff: chrome/browser/process_singleton.h

Issue 2399233002: Add histograms to the rendez-vous process (ProcessSingleton). (Closed)
Patch Set: comment on NotifyResult Created 4 years, 2 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
Index: chrome/browser/process_singleton.h
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
index fe11a1905fd5369e5acab6a1d4992e58627cf44d..4ee952e32807db82ff962bf5278e352a82b93c28 100644
--- a/chrome/browser/process_singleton.h
+++ b/chrome/browser/process_singleton.h
@@ -49,11 +49,13 @@ class CommandLine;
class ProcessSingleton : public base::NonThreadSafe {
public:
+ // Logged as histograms, do not modify these values.
enum NotifyResult {
- PROCESS_NONE,
- PROCESS_NOTIFIED,
- PROFILE_IN_USE,
- LOCK_ERROR,
+ PROCESS_NONE = 0,
+ PROCESS_NOTIFIED = 1,
+ PROFILE_IN_USE = 2,
+ LOCK_ERROR = 3,
+ NUM_NOTIFY_RESULTS
};
// Implement this callback to handle notifications from other processes. The

Powered by Google App Engine
This is Rietveld 408576698