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

Side by Side Diff: content/public/test/mock_download_manager.cc

Issue 12440036: Move ByteStream to content/browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/public/test/mock_download_manager.h" 5 #include "content/public/test/mock_download_manager.h"
6 6
7 #include "content/browser/download/byte_stream.h" 7 #include "content/browser/byte_stream.h"
8 #include "content/browser/download/download_create_info.h" 8 #include "content/browser/download/download_create_info.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 MockDownloadManager::CreateDownloadItemAdapter::CreateDownloadItemAdapter( 12 MockDownloadManager::CreateDownloadItemAdapter::CreateDownloadItemAdapter(
13 const base::FilePath& current_path, 13 const base::FilePath& current_path,
14 const base::FilePath& target_path, 14 const base::FilePath& target_path,
15 const std::vector<GURL>& url_chain, 15 const std::vector<GURL>& url_chain,
16 const GURL& referrer_url, 16 const GURL& referrer_url,
17 const base::Time& start_time, 17 const base::Time& start_time,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 DownloadInterruptReason interrupt_reason, 92 DownloadInterruptReason interrupt_reason,
93 bool opened) { 93 bool opened) {
94 CreateDownloadItemAdapter adapter( 94 CreateDownloadItemAdapter adapter(
95 current_path, target_path, url_chain, referrer_url, start_time, 95 current_path, target_path, url_chain, referrer_url, start_time,
96 end_time, received_bytes, total_bytes, state, danger_type, 96 end_time, received_bytes, total_bytes, state, danger_type,
97 interrupt_reason, opened); 97 interrupt_reason, opened);
98 return MockCreateDownloadItem(adapter); 98 return MockCreateDownloadItem(adapter);
99 } 99 }
100 100
101 } // namespace content 101 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698