OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FETCHER_WIN_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ |
7 | 7 |
8 #include <limits.h> | 8 #include <limits.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <queue> | 11 #include <queue> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base//callback.h" | |
alito
2017/04/14 00:01:18
Remove the extra '/'
proberge
2017/04/18 19:24:28
Wow, no idea what happened there.
| |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
15 #include "base/feature_list.h" | 16 #include "base/feature_list.h" |
16 #include "base/process/launch.h" | 17 #include "base/process/launch.h" |
17 #include "base/process/process.h" | 18 #include "base/process/process.h" |
18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class FilePath; | 22 class FilePath; |
22 class TaskRunner; | 23 class TaskRunner; |
23 class Version; | 24 class Version; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 }; | 142 }; |
142 | 143 |
143 // Set a delegate for testing. The implementation will not take ownership of | 144 // Set a delegate for testing. The implementation will not take ownership of |
144 // |delegate| - it must remain valid until this function is called again to | 145 // |delegate| - it must remain valid until this function is called again to |
145 // reset the delegate. If |delegate| is nullptr, any previous delegate is | 146 // reset the delegate. If |delegate| is nullptr, any previous delegate is |
146 // cleared. | 147 // cleared. |
147 void SetSwReporterTestingDelegate(SwReporterTestingDelegate* delegate); | 148 void SetSwReporterTestingDelegate(SwReporterTestingDelegate* delegate); |
148 | 149 |
149 void DisplaySRTPromptForTesting(const base::FilePath& download_path); | 150 void DisplaySRTPromptForTesting(const base::FilePath& download_path); |
150 | 151 |
152 // Called by chrome://cleanup/ to manually trigger a cleaner run. | |
153 void DisplayUserInitiatedSRTPromptDialog(base::Closure callback); | |
alito
2017/04/14 00:01:18
In order for the organic page to be able to run th
proberge
2017/04/18 19:24:28
Scan results will need to be available before "Run
alito
2017/04/19 18:01:44
As we discussed offline, the logic could be simpli
proberge
2017/04/19 18:03:10
Ack, closing this CL.
proberge
2017/04/25 17:51:09
Re-opening since it seems that we will indeed have
| |
154 | |
151 } // namespace safe_browsing | 155 } // namespace safe_browsing |
152 | 156 |
153 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ | 157 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ |
OLD | NEW |