summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_resetter/resettable_settings_snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile_resetter/resettable_settings_snapshot.h')
-rw-r--r--chrome/browser/profile_resetter/resettable_settings_snapshot.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/profile_resetter/resettable_settings_snapshot.h b/chrome/browser/profile_resetter/resettable_settings_snapshot.h
index 84aa6e2..04b4541 100644
--- a/chrome/browser/profile_resetter/resettable_settings_snapshot.h
+++ b/chrome/browser/profile_resetter/resettable_settings_snapshot.h
@@ -114,6 +114,12 @@ class ResettableSettingsSnapshot {
DISALLOW_COPY_AND_ASSIGN(ResettableSettingsSnapshot);
};
+// The caller of ResettableSettingsSnapshot.
+enum SnapshotCaller {
+ PROFILE_RESET_WEBUI = 0,
+ PROFILE_RESET_PROMPT,
+};
+
// Serializes specified |snapshot| members to JSON format. |field_mask| is a bit
// mask of ResettableSettingsSnapshot::Field values.
std::string SerializeSettingsReport(const ResettableSettingsSnapshot& snapshot,
@@ -122,7 +128,8 @@ std::string SerializeSettingsReport(const ResettableSettingsSnapshot& snapshot,
// Sends |report| as a feedback. |report| is supposed to be result of
// SerializeSettingsReport().
void SendSettingsFeedback(const std::string& report,
- Profile* profile);
+ Profile* profile,
+ SnapshotCaller caller);
// Returns list of key/value pairs for all available reported information
// from the |profile| and some additional fields.