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

Side by Side Diff: chrome/browser/safe_browsing/srt_fetcher_win.h

Issue 2746223002: Harmony - update Chrome Cleanup tool prompt dialog. (Closed)
Patch Set: Added test with a file Created 3 years, 9 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 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
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // A task runner used to spawn the reporter process (which blocks). 125 // A task runner used to spawn the reporter process (which blocks).
126 virtual base::TaskRunner* BlockingTaskRunner() const = 0; 126 virtual base::TaskRunner* BlockingTaskRunner() const = 0;
127 }; 127 };
128 128
129 // Set a delegate for testing. The implementation will not take ownership of 129 // Set a delegate for testing. The implementation will not take ownership of
130 // |delegate| - it must remain valid until this function is called again to 130 // |delegate| - it must remain valid until this function is called again to
131 // reset the delegate. If |delegate| is nullptr, any previous delegate is 131 // reset the delegate. If |delegate| is nullptr, any previous delegate is
132 // cleared. 132 // cleared.
133 void SetSwReporterTestingDelegate(SwReporterTestingDelegate* delegate); 133 void SetSwReporterTestingDelegate(SwReporterTestingDelegate* delegate);
134 134
135 void DisplaySRTPromptForTesting(const base::FilePath& download_path);
136
135 } // namespace safe_browsing 137 } // namespace safe_browsing
136 138
137 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_ 139 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FETCHER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698