OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/safe_browsing/chrome_cleaner_dialog_controller.h" | 5 #include "chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_dialog_cont
roller.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 | 8 |
9 namespace safe_browsing { | 9 namespace safe_browsing { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 // Some dummy strings to be displayed in the Cleaner dialog while iterating on | 13 // Some dummy strings to be displayed in the Cleaner dialog while iterating on |
14 // the dialog's UX design and work on the Chrome<->Cleaner IPC is ongoing. | 14 // the dialog's UX design and work on the Chrome<->Cleaner IPC is ongoing. |
15 constexpr char kWindowTitle[] = "Clean up your computer?"; | 15 constexpr char kWindowTitle[] = "Clean up your computer?"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 void ChromeCleanerDialogController::AdvancedButtonClicked() { | 59 void ChromeCleanerDialogController::AdvancedButtonClicked() { |
60 OnInteractionDone(); | 60 OnInteractionDone(); |
61 } | 61 } |
62 | 62 |
63 void ChromeCleanerDialogController::OnInteractionDone() { | 63 void ChromeCleanerDialogController::OnInteractionDone() { |
64 delete this; | 64 delete this; |
65 } | 65 } |
66 | 66 |
67 } // namespace safe_browsing | 67 } // namespace safe_browsing |
OLD | NEW |