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

Side by Side Diff: content/browser/download/url_downloader.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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 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 #include "content/browser/download/url_downloader.h" 5 #include "content/browser/download/url_downloader.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/sequenced_task_runner.h"
10 #include "base/threading/sequenced_task_runner_handle.h" 11 #include "base/threading/sequenced_task_runner_handle.h"
11 #include "content/browser/byte_stream.h" 12 #include "content/browser/byte_stream.h"
12 #include "content/browser/download/download_create_info.h" 13 #include "content/browser/download/download_create_info.h"
13 #include "content/browser/download/download_request_handle.h" 14 #include "content/browser/download/download_request_handle.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/download_interrupt_reasons.h" 16 #include "content/public/browser/download_interrupt_reasons.h"
16 #include "content/public/browser/download_save_info.h" 17 #include "content/public/browser/download_save_info.h"
17 #include "net/base/io_buffer.h" 18 #include "net/base/io_buffer.h"
18 #include "net/base/load_flags.h" 19 #include "net/base/load_flags.h"
19 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 235 }
235 236
236 void UrlDownloader::Destroy() { 237 void UrlDownloader::Destroy() {
237 BrowserThread::PostTask( 238 BrowserThread::PostTask(
238 BrowserThread::UI, FROM_HERE, 239 BrowserThread::UI, FROM_HERE,
239 base::Bind(&UrlDownloader::Delegate::OnUrlDownloaderStopped, delegate_, 240 base::Bind(&UrlDownloader::Delegate::OnUrlDownloaderStopped, delegate_,
240 this)); 241 this));
241 } 242 }
242 243
243 } // namespace content 244 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698