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

Side by Side Diff: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.h

Issue 2966453002: Chrome Cleaner UI: Add logs upload permission checkbox to the dialog (Closed)
Patch Set: More comments Created 3 years, 5 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // A delegate class used to override launching of the Cleaner proccess for 152 // A delegate class used to override launching of the Cleaner proccess for
153 // tests. 153 // tests.
154 class ChromeCleanerRunnerTestDelegate { 154 class ChromeCleanerRunnerTestDelegate {
155 public: 155 public:
156 virtual ~ChromeCleanerRunnerTestDelegate() = default; 156 virtual ~ChromeCleanerRunnerTestDelegate() = default;
157 157
158 // Called instead of base::LaunchProcess() during testing. 158 // Called instead of base::LaunchProcess() during testing.
159 virtual base::Process LaunchTestProcess( 159 virtual base::Process LaunchTestProcess(
160 const base::CommandLine& command_line, 160 const base::CommandLine& command_line,
161 const base::LaunchOptions& launch_options) = 0; 161 const base::LaunchOptions& launch_options) = 0;
162
163 virtual void OnCleanerProcessDone(
164 const ChromeCleanerRunner::ProcessStatus& process_status) = 0;
162 }; 165 };
163 166
164 void SetChromeCleanerRunnerTestDelegateForTesting( 167 void SetChromeCleanerRunnerTestDelegateForTesting(
165 ChromeCleanerRunnerTestDelegate* test_delegate); 168 ChromeCleanerRunnerTestDelegate* test_delegate);
166 169
167 } // namespace safe_browsing 170 } // namespace safe_browsing
168 171
169 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN _H_ 172 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_RUNNER_WIN _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698