Chromium Code Reviews| Index: chrome/browser/google/google_update_win.h |
| diff --git a/chrome/browser/google/google_update_win.h b/chrome/browser/google/google_update_win.h |
| index 33760ca2de5338017075da3875b12b241917cee5..d46e3a880a95cf4964482d3627fc928f050ec1cf 100644 |
| --- a/chrome/browser/google/google_update_win.h |
| +++ b/chrome/browser/google/google_update_win.h |
| @@ -14,7 +14,7 @@ |
| #include "ui/gfx/native_widget_types.h" |
| namespace base { |
| -class SingleThreadTaskRunner; |
| +class SequencedTaskRunner; |
|
gab
2017/07/19 15:15:24
scoped_refptr<Foo> is only defined if Foo is defin
calamity
2017/07/20 03:56:20
scoped_refptr removed.
|
| } // namespace base |
| // These values are used for a histogram. Do not reorder. |
| @@ -87,14 +87,13 @@ class UpdateCheckDelegate { |
| UpdateCheckDelegate() {} |
| }; |
| -// Begins an asynchronous update check on |task_runner|. If a new version is |
| +// Begins an asynchronous update check. If a new version is |
| // available and |install_update_if_possible| is true, the new version will be |
| // automatically downloaded and installed. |elevation_window| is the window |
| // which should own any necessary elevation UI. Methods on |delegate| will be |
| // invoked on the caller's thread to provide feedback on the operation, with |
| // messages localized to |locale| if possible. |
| void BeginUpdateCheck( |
| - scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
| const std::string& locale, |
| bool install_update_if_possible, |
| gfx::AcceleratedWidget elevation_window, |
| @@ -110,4 +109,7 @@ typedef base::Callback<HRESULT(base::win::ScopedComPtr<IGoogleUpdate3Web>*)> |
| void SetGoogleUpdateFactoryForTesting( |
| const GoogleUpdate3ClassFactory& google_update_factory); |
| +void SetUpdateDriverTaskRunnerForTesting( |
| + scoped_refptr<base::SequencedTaskRunner> task_runner); |
| + |
| #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_ |