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

Unified Diff: chrome/browser/profile_resetter/resettable_settings_snapshot.cc

Issue 271673006: Eliminate all code related to the AutomaticProfileResetter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/profile_resetter/resettable_settings_snapshot.cc
diff --git a/chrome/browser/profile_resetter/resettable_settings_snapshot.cc b/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
index 2ef05d5897bb0e8d79891f6ba7626664648b01da..ffbc6dfeeb86aa2da1eeb1dfcf0a2fc6a132eef6 100644
--- a/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
+++ b/chrome/browser/profile_resetter/resettable_settings_snapshot.cc
@@ -27,7 +27,6 @@
namespace {
// Feedback bucket labels.
-const char kProfileResetPromptBucket[] = "SamplingOfSettingsResetPrompt";
const char kProfileResetWebUIBucket[] = "ProfileResetReport";
// Dictionary keys for feedback report.
@@ -214,19 +213,9 @@ std::string SerializeSettingsReport(const ResettableSettingsSnapshot& snapshot,
}
void SendSettingsFeedback(const std::string& report,
- Profile* profile,
- SnapshotCaller caller) {
+ Profile* profile) {
scoped_refptr<FeedbackData> feedback_data = new FeedbackData();
- std::string bucket;
- switch (caller) {
- case PROFILE_RESET_WEBUI:
- bucket = kProfileResetWebUIBucket;
- break;
- case PROFILE_RESET_PROMPT:
- bucket = kProfileResetPromptBucket;
- break;
- }
- feedback_data->set_category_tag(bucket);
+ feedback_data->set_category_tag(kProfileResetWebUIBucket);
feedback_data->set_description(report);
feedback_data->set_image(make_scoped_ptr(new std::string));

Powered by Google App Engine
This is Rietveld 408576698