| 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 9fcf1cb99fdf2de5609dda5c41e124812162c3fc..7b6a864d409be9782c14a36c61a0caac787a6650 100644
|
| --- a/chrome/browser/profile_resetter/resettable_settings_snapshot.h
|
| +++ b/chrome/browser/profile_resetter/resettable_settings_snapshot.h
|
| @@ -8,6 +8,10 @@
|
| #include "base/basictypes.h"
|
| #include "chrome/browser/prefs/session_startup_pref.h"
|
|
|
| +namespace base {
|
| +class ListValue;
|
| +}
|
| +
|
| // ResettableSettingsSnapshot captures some settings values at constructor. It
|
| // can calculate the difference between two snapshots. That is, modified fields.
|
| class ResettableSettingsSnapshot {
|
| @@ -39,6 +43,8 @@ class ResettableSettingsSnapshot {
|
|
|
| const std::string& dse_url() const { return dse_url_; }
|
|
|
| + const std::string& dse_host() const { return dse_host_; }
|
| +
|
| const std::vector<std::string>& enabled_extensions() const {
|
| return enabled_extensions_;
|
| }
|
| @@ -64,6 +70,8 @@ class ResettableSettingsSnapshot {
|
|
|
| // Default search engine.
|
| std::string dse_url_;
|
| + // The host is used for human-readable reporting.
|
| + std::string dse_host_;
|
|
|
| // Enabled extension ids. Always sorted.
|
| std::vector<std::string> enabled_extensions_;
|
| @@ -80,4 +88,9 @@ std::string SerializeSettingsReport(const ResettableSettingsSnapshot& snapshot,
|
| // SerializeSettingsReport().
|
| void SendSettingsFeedback(const std::string& report, Profile* profile);
|
|
|
| +// Returns list of key/value pairs for all information in the |snapshot| and
|
| +// some additional fields.
|
| +base::ListValue* GetReadableFeedback(
|
| + const ResettableSettingsSnapshot& snapshot);
|
| +
|
| #endif // CHROME_BROWSER_PROFILE_RESETTER_RESETTABLE_SETTINGS_SNAPSHOT_H_
|
|
|