OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_GLOBAL_ERROR_WIN_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_GLOBAL_ERROR_WIN_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_GLOBAL_ERROR_WIN_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_GLOBAL_ERROR_WIN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/browser/safe_browsing/srt_field_trial_win.h" | 12 #include "chrome/browser/safe_browsing/chrome_cleaner/srt_field_trial_win.h" |
13 #include "chrome/browser/ui/global_error/global_error.h" | 13 #include "chrome/browser/ui/global_error/global_error.h" |
14 | 14 |
15 class GlobalErrorService; | 15 class GlobalErrorService; |
16 | 16 |
17 namespace safe_browsing { | 17 namespace safe_browsing { |
18 | 18 |
19 // Encapsulates UI-related functionality for the software removal tool (SRT) | 19 // Encapsulates UI-related functionality for the software removal tool (SRT) |
20 // prompt. The UI consists of two parts: (1.) the profile reset (pop-up) bubble, | 20 // prompt. The UI consists of two parts: (1.) the profile reset (pop-up) bubble, |
21 // and (2.) a menu item in the wrench menu (provided by being a GlobalError). | 21 // and (2.) a menu item in the wrench menu (provided by being a GlobalError). |
22 class SRTGlobalError : public GlobalErrorWithStandardBubble { | 22 class SRTGlobalError : public GlobalErrorWithStandardBubble { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool bubble_shown_from_menu_ = false; | 76 bool bubble_shown_from_menu_ = false; |
77 | 77 |
78 // Identifies whether the user interacted with the bubble buttons or not. | 78 // Identifies whether the user interacted with the bubble buttons or not. |
79 bool interacted_ = false; | 79 bool interacted_ = false; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(SRTGlobalError); | 81 DISALLOW_COPY_AND_ASSIGN(SRTGlobalError); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace safe_browsing | 84 } // namespace safe_browsing |
85 | 85 |
86 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_GLOBAL_ERROR_WIN_H_ | 86 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_GLOBAL_ERROR_WIN_H_ |
OLD | NEW |