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

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: Move cct hash definition to options::ResetProfileSettingsHandler Created 4 years, 3 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 | « no previous file | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..502d403298ddae5afd344faac974dcfb265bde35 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.
+ // Specifies where the request for the settings reset came from.
+ enum ResetRequestOrigin {
+ RESET_REQUEST_ORIGIN_UNSPECIFIED = 0;
+ // 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 = 1;
+ // User clicked on the reset button on the settings page.
+ RESET_REQUEST_ORIGIN_USER_CLICK = 2;
+ // A settings reset was requested by the Chrome Cleanup Tool.
+ RESET_REQUEST_ORIGIN_CCT = 3;
+ // The triggered settings reset API was used.
+ RESET_REQUEST_ORIGIN_TRIGGERED_RESET = 4;
+ }
+
+ optional ResetRequestOrigin reset_request_origin = 19;
+
+ // next available tag number: 20.
}
« no previous file with comments | « no previous file | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698