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

Unified Diff: chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc

Issue 2848683002: Chrome Cleaner UI: Rename SRT to ChromeCleaner (Closed)
Patch Set: Rebase Created 3 years, 8 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/safe_browsing/chrome_cleaner_dialog_controller.cc
diff --git a/chrome/browser/safe_browsing/srt_prompt_controller.cc b/chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc
similarity index 58%
rename from chrome/browser/safe_browsing/srt_prompt_controller.cc
rename to chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc
index 02727a78c2c76edf9e7726ab62bde7162c6a69b4..c947323256f46c8079e8437340ec07839e0505c4 100644
--- a/chrome/browser/safe_browsing/srt_prompt_controller.cc
+++ b/chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/safe_browsing/srt_prompt_controller.h"
+#include "chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.h"
#include "base/strings/utf_string_conversions.h"
@@ -22,45 +22,45 @@ constexpr char kAdvancedButtonLabel[] = "Advanced";
} // namespace
-SRTPromptController::SRTPromptController() {}
+ChromeCleanerDialogController::ChromeCleanerDialogController() {}
-SRTPromptController::~SRTPromptController() = default;
+ChromeCleanerDialogController::~ChromeCleanerDialogController() = default;
-base::string16 SRTPromptController::GetWindowTitle() const {
+base::string16 ChromeCleanerDialogController::GetWindowTitle() const {
return base::UTF8ToUTF16(kWindowTitle);
}
-base::string16 SRTPromptController::GetMainText() const {
+base::string16 ChromeCleanerDialogController::GetMainText() const {
return base::UTF8ToUTF16(kMainText);
}
-base::string16 SRTPromptController::GetAcceptButtonLabel() const {
+base::string16 ChromeCleanerDialogController::GetAcceptButtonLabel() const {
return base::UTF8ToUTF16(kAcceptButtonLabel);
}
-base::string16 SRTPromptController::GetAdvancedButtonLabel() const {
+base::string16 ChromeCleanerDialogController::GetAdvancedButtonLabel() const {
return base::UTF8ToUTF16(kAdvancedButtonLabel);
}
-void SRTPromptController::DialogShown() {}
+void ChromeCleanerDialogController::DialogShown() {}
-void SRTPromptController::Accept() {
+void ChromeCleanerDialogController::Accept() {
OnInteractionDone();
}
-void SRTPromptController::Cancel() {
+void ChromeCleanerDialogController::Cancel() {
OnInteractionDone();
}
-void SRTPromptController::Close() {
+void ChromeCleanerDialogController::Close() {
OnInteractionDone();
}
-void SRTPromptController::AdvancedButtonClicked() {
+void ChromeCleanerDialogController::AdvancedButtonClicked() {
OnInteractionDone();
}
-void SRTPromptController::OnInteractionDone() {
+void ChromeCleanerDialogController::OnInteractionDone() {
delete this;
}
« no previous file with comments | « chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.h ('k') | chrome/browser/safe_browsing/srt_prompt_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698