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

Unified Diff: chrome/browser/ui/webui/options/reset_profile_settings_handler.h

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/ui/webui/options/reset_profile_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/reset_profile_settings_handler.h b/chrome/browser/ui/webui/options/reset_profile_settings_handler.h
index fd1bb0d4c2f12b58621121b68c37cd65a356c252..2843a8a9c739d64173c95183b042b82021b03e56 100644
--- a/chrome/browser/ui/webui/options/reset_profile_settings_handler.h
+++ b/chrome/browser/ui/webui/options/reset_profile_settings_handler.h
@@ -46,7 +46,8 @@ class ResetProfileSettingsHandler
void HandleResetProfileSettings(const base::ListValue* value);
// Closes the dialog once all requested settings has been reset.
- void OnResetProfileSettingsDone(bool send_feedback);
+ void OnResetProfileSettingsDone(bool send_feedback,
+ const std::string& reset_request_origin);
// Called when the confirmation box appears.
void OnShowResetProfileDialog(const base::ListValue* value);
@@ -59,7 +60,8 @@ class ResetProfileSettingsHandler
// Resets profile settings to default values. |send_settings| is true if user
// gave his consent to upload broken settings to Google for analysis.
- void ResetProfile(bool send_settings);
+ void ResetProfile(bool send_settings,
+ const std::string& reset_request_origin);
// Sets new values for the feedback area.
void UpdateFeedbackUI();

Powered by Google App Engine
This is Rietveld 408576698