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