| 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;
|
| }
|
|
|
|
|