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

Side by Side Diff: chrome/browser/download/download_file.cc

Issue 6594063: Update a bunch of files to the new location of browser_thread.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/download/base_file.cc ('k') | chrome/browser/download/download_file_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/download/download_file.h" 5 #include "chrome/browser/download/download_file.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
11 #include "chrome/browser/browser_thread.h"
12 #include "chrome/browser/download/download_manager.h" 11 #include "chrome/browser/download/download_manager.h"
13 #include "chrome/browser/download/download_util.h" 12 #include "chrome/browser/download/download_util.h"
14 #include "chrome/browser/history/download_create_info.h" 13 #include "chrome/browser/history/download_create_info.h"
14 #include "content/browser/browser_thread.h"
15 15
16 DownloadFile::DownloadFile(const DownloadCreateInfo* info, 16 DownloadFile::DownloadFile(const DownloadCreateInfo* info,
17 DownloadManager* download_manager) 17 DownloadManager* download_manager)
18 : BaseFile(info->save_info.file_path, 18 : BaseFile(info->save_info.file_path,
19 info->url, 19 info->url,
20 info->referrer_url, 20 info->referrer_url,
21 info->received_bytes, 21 info->received_bytes,
22 info->save_info.file_stream), 22 info->save_info.file_stream),
23 id_(info->download_id), 23 id_(info->download_id),
24 child_id_(info->child_id), 24 child_id_(info->child_id),
(...skipping 29 matching lines...) Expand all
54 " child_id_ = " "%d" 54 " child_id_ = " "%d"
55 " request_id_ = " "%d" 55 " request_id_ = " "%d"
56 " Base File = %s" 56 " Base File = %s"
57 " }", 57 " }",
58 full_path_.value().c_str(), 58 full_path_.value().c_str(),
59 id_, 59 id_,
60 child_id_, 60 child_id_,
61 request_id_, 61 request_id_,
62 BaseFile::DebugString().c_str()); 62 BaseFile::DebugString().c_str());
63 } 63 }
OLDNEW
« no previous file with comments | « chrome/browser/download/base_file.cc ('k') | chrome/browser/download/download_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698