| Index: chrome/browser/profile_resetter/resettable_settings_snapshot.h
|
| diff --git a/chrome/browser/profile_resetter/resettable_settings_snapshot.h b/chrome/browser/profile_resetter/resettable_settings_snapshot.h
|
| index 84aa6e2918e6ac8fda9f7444f8ae0a366ded1a47..04b4541eb77dbfdf4bbd836e3ba0635b9d0a684e 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.
|
|
|