/external/chromium_org/content/public/test/ |
D | mock_download_item.cc | 9 MockDownloadItem::MockDownloadItem() {} in MockDownloadItem() function in content::MockDownloadItem 11 MockDownloadItem::~MockDownloadItem() { in ~MockDownloadItem() 15 void MockDownloadItem::AddObserver(Observer* observer) { in AddObserver() 19 void MockDownloadItem::RemoveObserver(Observer* observer) { in RemoveObserver() 23 void MockDownloadItem::NotifyObserversDownloadOpened() { in NotifyObserversDownloadOpened() 27 void MockDownloadItem::NotifyObserversDownloadRemoved() { in NotifyObserversDownloadRemoved() 31 void MockDownloadItem::NotifyObserversDownloadUpdated() { in NotifyObserversDownloadUpdated()
|
D | mock_download_item.h | 19 class MockDownloadItem : public DownloadItem { 21 MockDownloadItem(); 22 virtual ~MockDownloadItem();
|
/external/chromium_org/chrome/browser/download/ |
D | download_path_reservation_tracker_unittest.cc | 22 using content::MockDownloadItem; 38 MockDownloadItem* CreateDownloadItem(int32 id); 87 MockDownloadItem* DownloadPathReservationTrackerTest::CreateDownloadItem( in CreateDownloadItem() 89 MockDownloadItem* item = new ::testing::StrictMock<MockDownloadItem>; in CreateDownloadItem() 150 void SetDownloadItemState(content::MockDownloadItem* download_item, in SetDownloadItemState() 161 scoped_ptr<MockDownloadItem> item(CreateDownloadItem(1)); in TEST_F() 191 scoped_ptr<MockDownloadItem> item(CreateDownloadItem(1)); in TEST_F() 220 scoped_ptr<MockDownloadItem> item(CreateDownloadItem(1)); in TEST_F() 253 scoped_ptr<MockDownloadItem> item(CreateDownloadItem(1)); in TEST_F() 295 scoped_ptr<MockDownloadItem> item1(CreateDownloadItem(1)); in TEST_F() [all …]
|
D | download_ui_controller_unittest.cc | 24 using content::MockDownloadItem; 119 scoped_ptr<MockDownloadItem> CreateMockInProgressDownload(); 197 scoped_ptr<MockDownloadItem> 199 scoped_ptr<MockDownloadItem> item( in CreateMockInProgressDownload() 200 new testing::StrictMock<MockDownloadItem>()); in CreateMockInProgressDownload() 244 scoped_ptr<MockDownloadItem> item(CreateMockInProgressDownload()); in TEST_F() 266 scoped_ptr<MockDownloadItem> item = CreateMockInProgressDownload(); in TEST_F() 280 scoped_ptr<MockDownloadItem> item(CreateMockInProgressDownload()); in TEST_F() 309 scoped_ptr<MockDownloadItem> item = CreateMockInProgressDownload(); in TEST_F()
|
D | download_status_updater_unittest.cc | 109 content::MockDownloadItem* item = in AddItems() 110 new StrictMock<content::MockDownloadItem>; in AddItems() 128 content::MockDownloadItem* Item(int manager_index, int item_index) { in Item() 133 return static_cast<content::MockDownloadItem*>( in Item() 141 content::MockDownloadItem* item(Item(manager_index, item_index)); in SetItemValues() 152 content::MockDownloadItem* item(Item(manager_index, item_index)); in CompleteItem()
|
D | chrome_download_manager_delegate_unittest.cc | 138 content::MockDownloadItem* CreateActiveDownloadItem(int32 id); 196 content::MockDownloadItem* 198 content::MockDownloadItem* item = in CreateActiveDownloadItem() 199 new ::testing::NiceMock<content::MockDownloadItem>(); in CreateActiveDownloadItem() 313 scoped_ptr<content::MockDownloadItem> save_as_download( in TEST_F() 322 scoped_ptr<content::MockDownloadItem> automatic_download( in TEST_F() 391 scoped_ptr<content::MockDownloadItem> download_item( in TEST_F()
|
D | download_shelf_unittest.cc | 40 content::MockDownloadItem* download_item() { in download_item() 62 scoped_ptr<content::MockDownloadItem> GetInProgressMockDownload(); 66 scoped_ptr<content::MockDownloadItem> download_item_; 75 download_item_.reset(new ::testing::NiceMock<content::MockDownloadItem>()); in DownloadShelfTest()
|
D | download_target_determiner_unittest.cc | 198 content::MockDownloadItem* CreateActiveDownloadItem( 218 content::MockDownloadItem* item); 224 content::MockDownloadItem* item); 278 content::MockDownloadItem* 282 content::MockDownloadItem* item = in CreateActiveDownloadItem() 283 new ::testing::NiceMock<content::MockDownloadItem>(); in CreateActiveDownloadItem() 365 content::MockDownloadItem* item) { in RunTestCase() 382 content::MockDownloadItem* item) { in RunDownloadTargetDeterminer() 399 scoped_ptr<content::MockDownloadItem> item( in RunTestCasesWithActiveItem() 948 scoped_ptr<content::MockDownloadItem> item( in TEST_F() [all …]
|
D | all_download_item_notifier_unittest.cc | 49 content::MockDownloadItem& item() { return item_; } in item() 72 NiceMock<content::MockDownloadItem> item_;
|
D | download_danger_prompt_browsertest.cc | 66 content::MockDownloadItem& download() { return download_; } in download() 94 content::MockDownloadItem download_;
|
D | download_item_model_unittest.cc | 100 content::MockDownloadItem& item() { in item() 109 NiceMock<content::MockDownloadItem> item_;
|
D | download_history_unittest.cc | 63 typedef testing::StrictMock<content::MockDownloadItem> StrictMockDownloadItem; 199 typedef base::Callback<void(content::MockDownloadItem*)> DownloadItemCallback; 217 content::MockDownloadItem& item(size_t index) { return *items_[index]; } in item() 472 content::MockDownloadItem* item) { in CheckDownloadWasRestoredFromHistory()
|
D | download_query_unittest.cc | 56 mocks_.push_back(new content::MockDownloadItem()); in CreateMocks() 62 content::MockDownloadItem& mock(int index) { return *mocks_[index]; } in mock() 94 std::vector<content::MockDownloadItem*> mocks_;
|
/external/chromium_org/chrome/browser/plugins/ |
D | plugin_installer_unittest.cc | 29 scoped_ptr<content::MockDownloadItem> CreateMockDownloadItem(); 48 scoped_ptr<content::MockDownloadItem> 50 scoped_ptr<content::MockDownloadItem> mock_download_item( in CreateMockDownloadItem() 51 new testing::StrictMock<content::MockDownloadItem>()); in CreateMockDownloadItem() 104 scoped_ptr<content::MockDownloadItem> download_item(CreateMockDownloadItem()); in TEST_F() 134 scoped_ptr<content::MockDownloadItem> download_item(CreateMockDownloadItem()); in TEST_F() 161 scoped_ptr<content::MockDownloadItem> download_item(CreateMockDownloadItem()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_shelf_controller_unittest.mm | 23 // Wraps a content::MockDownloadItem so it can be retained by the mock 27 scoped_ptr<content::MockDownloadItem> download_; 29 - (id)initWithMockDownload:(scoped_ptr<content::MockDownloadItem>)download; argument 31 - (content::MockDownloadItem*)mockDownload; 35 - (id)initWithMockDownload:(scoped_ptr<content::MockDownloadItem>)download { argument 46 - (content::MockDownloadItem*)mockDownload { 51 // Test method for accessing the wrapped MockDownloadItem. 118 scoped_ptr<content::MockDownloadItem> download( 119 new ::testing::NiceMock<content::MockDownloadItem>);
|
D | download_item_cell_unittest.mm | 58 testing::NiceMock<content::MockDownloadItem> item;
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | download_feedback_service_unittest.cc | 121 content::MockDownloadItem item; in WillStorePings() 202 content::MockDownloadItem item; in TEST_F() 242 content::MockDownloadItem item[num_downloads]; in TEST_F() 311 content::MockDownloadItem item[num_downloads]; in TEST_F()
|
D | download_protection_service_unittest.cc | 367 content::MockDownloadItem item; in TEST_F() 415 content::MockDownloadItem item; in TEST_F() 505 content::MockDownloadItem item; in TEST_F() 549 content::MockDownloadItem item; in TEST_F() 697 content::MockDownloadItem item; in TEST_F() 750 content::MockDownloadItem item; in TEST_F() 832 content::MockDownloadItem item; in TEST_F() 879 content::MockDownloadItem item; in TEST_F() 921 content::MockDownloadItem item; in TEST_F() 1008 content::MockDownloadItem item; in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | download_handler_unittest.cc | 74 content::MockDownloadItem download_item_;
|
/external/chromium_org/content/browser/download/ |
D | download_item_impl_unittest.cc | 1298 TEST(MockDownloadItem, Compiles) { in TEST() argument 1299 MockDownloadItem mock_item; in TEST()
|