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

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

Issue 2856073002: Chrome Cleaner: Move files to correct directory (Closed)
Patch Set: 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/chrome_cleaner_dialog_controller.cc b/chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc
deleted file mode 100644
index c947323256f46c8079e8437340ec07839e0505c4..0000000000000000000000000000000000000000
--- a/chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.cc
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// 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/chrome_cleaner_dialog_controller.h"
-
-#include "base/strings/utf_string_conversions.h"
-
-namespace safe_browsing {
-
-namespace {
-
-// Some dummy strings to be displayed in the Cleaner dialog while iterating on
-// the dialog's UX design and work on the Chrome<->Cleaner IPC is ongoing.
-constexpr char kWindowTitle[] = "Clean up your computer?";
-constexpr char kMainText[] =
- "Chrome found software that harms your browsing experience. Remove related "
- "files from your computer and restore browser settings, including your "
- "search engine and home page.";
-constexpr char kAcceptButtonLabel[] = "Cleanup";
-constexpr char kAdvancedButtonLabel[] = "Advanced";
-
-} // namespace
-
-ChromeCleanerDialogController::ChromeCleanerDialogController() {}
-
-ChromeCleanerDialogController::~ChromeCleanerDialogController() = default;
-
-base::string16 ChromeCleanerDialogController::GetWindowTitle() const {
- return base::UTF8ToUTF16(kWindowTitle);
-}
-
-base::string16 ChromeCleanerDialogController::GetMainText() const {
- return base::UTF8ToUTF16(kMainText);
-}
-
-base::string16 ChromeCleanerDialogController::GetAcceptButtonLabel() const {
- return base::UTF8ToUTF16(kAcceptButtonLabel);
-}
-
-base::string16 ChromeCleanerDialogController::GetAdvancedButtonLabel() const {
- return base::UTF8ToUTF16(kAdvancedButtonLabel);
-}
-
-void ChromeCleanerDialogController::DialogShown() {}
-
-void ChromeCleanerDialogController::Accept() {
- OnInteractionDone();
-}
-
-void ChromeCleanerDialogController::Cancel() {
- OnInteractionDone();
-}
-
-void ChromeCleanerDialogController::Close() {
- OnInteractionDone();
-}
-
-void ChromeCleanerDialogController::AdvancedButtonClicked() {
- OnInteractionDone();
-}
-
-void ChromeCleanerDialogController::OnInteractionDone() {
- delete this;
-}
-
-} // namespace safe_browsing
« no previous file with comments | « chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.h ('k') | chrome/browser/ui/views/chrome_cleaner_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698