Home | History | Annotate | Download | only in download

Lines Matching defs:updater_

51       : updater_(new TestDownloadStatusUpdater()),
59 delete updater_;
60 updater_ = NULL;
96 updater_->AddManager(mgr);
147 updater_->OnDownloadUpdated(managers_[manager_index], item);
155 updater_->OnDownloadUpdated(managers_[manager_index], item);
179 TestDownloadStatusUpdater *updater_;
193 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
209 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
228 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
235 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
245 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
252 size_t expected_notifications = updater_->NotificationCount();
260 ASSERT_EQ(expected_notifications, updater_->NotificationCount());
263 updater_->SetAcceptableNotificationItem(Item(0, 0));
266 ASSERT_EQ(expected_notifications, updater_->NotificationCount());
269 updater_->SetAcceptableNotificationItem(Item(0, 1));
272 ASSERT_EQ(expected_notifications, updater_->NotificationCount());
275 updater_->SetAcceptableNotificationItem(Item(0, 0));
278 ASSERT_EQ(expected_notifications, updater_->NotificationCount());
280 updater_->SetAcceptableNotificationItem(NULL);
295 EXPECT_FALSE(updater_->GetProgress(&progress, &download_count));
306 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
321 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));
340 EXPECT_TRUE(updater_->GetProgress(&progress, &download_count));