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

Unified Diff: chrome/browser/profile_resetter/profile_reset_report.proto

Issue 2236663002: Add origin of settings reset request to feedback reports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/profile_resetter/profile_reset_report.proto
diff --git a/chrome/browser/profile_resetter/profile_reset_report.proto b/chrome/browser/profile_resetter/profile_reset_report.proto
index 4187c7aee0974f4f8f698088eaf6a214d3752945..5a641dbbed50d4e14523c5d49cfe9a5d2ea1759f 100644
--- a/chrome/browser/profile_resetter/profile_reset_report.proto
+++ b/chrome/browser/profile_resetter/profile_reset_report.proto
@@ -62,5 +62,22 @@ message ChromeResetReport {
// Full command line (executable and parameters) of shotcuts to start Chrome.
repeated string shortcuts = 18;
- // next available tag number: 19.
+ // Specified where the request for the settings reset came from.
robertshield 2016/08/10 20:35:41 nit: s/Specified/Specifies/
alito 2016/08/10 21:06:32 Done.
+ enum ResetRequestOrigin {
+ RESET_REQUEST_ORIGIN_UNSPECIFIED = 0;
+ // User clicked on the reset button on the settings page.
+ RESET_REQUEST_ORIGIN_USER_CLICK = 1;
+ // A settings reset was requested by the Chrome Cleanup Tool.
+ RESET_REQUEST_ORIGIN_CCT = 2;
+ // The triggered settings reset API was used.
+ RESET_REQUEST_ORIGIN_TRIGGERED_RESET = 3;
+ // None of the other cases. Possibly by navigating to
+ // chrome://settings/resetProfileSettings directly or launching
+ // chrome with that URL as an argument.
+ RESET_REQUEST_ORIGIN_UNKNOWN = 4;
+ }
+
+ optional ResetRequestOrigin reset_request_origin = 19;
+
+ // next available tag number: 20.
}

Powered by Google App Engine
This is Rietveld 408576698