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

Side by Side Diff: content/browser/download/download_item_impl_unittest.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
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "content/browser/download/byte_stream.h" 9 #include "content/browser/byte_stream.h"
10 #include "content/browser/download/download_create_info.h" 10 #include "content/browser/download/download_create_info.h"
11 #include "content/browser/download/download_file_factory.h" 11 #include "content/browser/download/download_file_factory.h"
12 #include "content/browser/download/download_item_impl.h" 12 #include "content/browser/download/download_item_impl.h"
13 #include "content/browser/download/download_item_impl_delegate.h" 13 #include "content/browser/download/download_item_impl_delegate.h"
14 #include "content/browser/download/download_request_handle.h" 14 #include "content/browser/download/download_request_handle.h"
15 #include "content/browser/download/mock_download_file.h" 15 #include "content/browser/download/mock_download_file.h"
16 #include "content/public/browser/download_id.h" 16 #include "content/public/browser/download_id.h"
17 #include "content/public/browser/download_destination_observer.h" 17 #include "content/public/browser/download_destination_observer.h"
18 #include "content/public/browser/download_interrupt_reasons.h" 18 #include "content/public/browser/download_interrupt_reasons.h"
19 #include "content/public/browser/download_url_parameters.h" 19 #include "content/public/browser/download_url_parameters.h"
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 EXPECT_CALL(*download_file, Detach()); 1070 EXPECT_CALL(*download_file, Detach());
1071 RunAllPendingInMessageLoops(); 1071 RunAllPendingInMessageLoops();
1072 EXPECT_EQ(DownloadItem::COMPLETE, item->GetState()); 1072 EXPECT_EQ(DownloadItem::COMPLETE, item->GetState());
1073 } 1073 }
1074 1074
1075 TEST(MockDownloadItem, Compiles) { 1075 TEST(MockDownloadItem, Compiles) {
1076 MockDownloadItem mock_item; 1076 MockDownloadItem mock_item;
1077 } 1077 }
1078 1078
1079 } // namespace content 1079 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698