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

Unified Diff: chrome/browser/ui/webui/settings/chrome_cleanup_handler.cc

Issue 2966453002: Chrome Cleaner UI: Add logs upload permission checkbox to the dialog (Closed)
Patch Set: More comments Created 3 years, 6 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/settings/chrome_cleanup_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chrome_cleanup_handler.cc b/chrome/browser/ui/webui/settings/chrome_cleanup_handler.cc
index 46f4b8c30a5c4ce1326a04498c6a811aa399cd0f..8965dafa3bec7498abef5948cf508324bb214300 100644
--- a/chrome/browser/ui/webui/settings/chrome_cleanup_handler.cc
+++ b/chrome/browser/ui/webui/settings/chrome_cleanup_handler.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/webui/settings/chrome_cleanup_handler.h"
+#include <string>
+
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/synchronization/lock.h"
@@ -146,7 +148,9 @@ void ChromeCleanupHandler::HandleStartCleanup(const base::ListValue* args) {
DCHECK_EQ(0U, args->GetSize());
controller_->ReplyWithUserResponse(
- profile_, ChromeCleanerController::UserResponse::kAccepted);
+ // TODO(proberge): Send kAcceptedWithLogs or kAcceptedWithoutLogs based on
+ // the state of a logs upload permissions checkbox.
+ profile_, ChromeCleanerController::UserResponse::kAcceptedWithoutLogs);
}
} // namespace settings

Powered by Google App Engine
This is Rietveld 408576698