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

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

Issue 2971823002: Cleanup Tool WebUI: Add logs upload checkbox and minor polishing (Closed)
Patch Set: Address review comments on #3, simplify idle error cases Created 3 years, 5 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.h
diff --git a/chrome/browser/ui/webui/settings/chrome_cleanup_handler.h b/chrome/browser/ui/webui/settings/chrome_cleanup_handler.h
index e32b273a46a3637608860fb705614d9268d55327..59f4493ceb603d19effa69ce9511d718a7b4df8b 100644
--- a/chrome/browser/ui/webui/settings/chrome_cleanup_handler.h
+++ b/chrome/browser/ui/webui/settings/chrome_cleanup_handler.h
@@ -36,6 +36,7 @@ class ChromeCleanupHandler
void OnInfected(const std::set<base::FilePath>& files) override;
void OnCleaning(const std::set<base::FilePath>& files) override;
void OnRebootRequired() override;
+ void OnLogsEnabledChanged(bool logs_enabled) override;
private:
// Callback for the "dismissCleanupPage" message to hide the Cleanup page
@@ -51,6 +52,10 @@ class ChromeCleanupHandler
// system restart.
void HandleRestartComputer(const base::ListValue* args);
+ // Callback for the "setLogsUploadPermission" message to keep track of
+ // whether the user opted-out of logs upload or not.
+ void HandleSetLogsUploadPermission(const base::ListValue* args);
+
// Callback for the "startCleanup" message to start removing unwanted
// software from the user's computer.
void HandleStartCleanup(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698