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

Side by Side Diff: components/update_client/crx_downloader.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 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 #include "components/update_client/crx_downloader.h" 5 #include "components/update_client/crx_downloader.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/sequenced_task_runner.h" 14 #include "base/sequenced_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 #include "components/update_client/background_downloader_win.h" 18 #include "components/update_client/background_downloader_win.h"
19 #endif 19 #endif
20 #include "components/update_client/url_fetcher_downloader.h" 20 #include "components/update_client/url_fetcher_downloader.h"
21 #include "components/update_client/utils.h" 21 #include "components/update_client/utils.h"
22 22
23 namespace update_client { 23 namespace update_client {
24 24
25 CrxDownloader::Result::Result() 25 CrxDownloader::Result::Result()
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 return; 210 return;
211 } 211 }
212 212
213 // The download ends here since there is no url nor downloader to handle this 213 // The download ends here since there is no url nor downloader to handle this
214 // download request further. 214 // download request further.
215 main_task_runner()->PostTask(FROM_HERE, 215 main_task_runner()->PostTask(FROM_HERE,
216 base::Bind(download_callback_, result)); 216 base::Bind(download_callback_, result));
217 } 217 }
218 218
219 } // namespace update_client 219 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/action_wait.cc ('k') | components/update_client/crx_downloader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698