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

Unified Diff: components/offline_pages/core/downloads/download_notifying_observer_unittest.cc

Issue 2566453002: [OfflinePages] Rename PRERENDERING_* result terminology to LOADING_* (Closed)
Patch Set: Updated histogram enum Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/downloads/download_notifying_observer_unittest.cc
diff --git a/components/offline_pages/core/downloads/download_notifying_observer_unittest.cc b/components/offline_pages/core/downloads/download_notifying_observer_unittest.cc
index 75d1f898f20b221a9ee8389563e9f272faccabb7..6db87708702286214aeeb9cd393658b01052247f 100644
--- a/components/offline_pages/core/downloads/download_notifying_observer_unittest.cc
+++ b/components/offline_pages/core/downloads/download_notifying_observer_unittest.cc
@@ -224,7 +224,7 @@ TEST_F(DownloadNotifyingObserverTest, OnCompletedFailure) {
SavePageRequest request(kTestOfflineId, GURL(kTestUrl), kTestClientId,
kTestCreationTime, kTestUserRequested);
observer()->OnCompleted(
- request, RequestNotifier::BackgroundSavePageResult::PRERENDER_FAILURE);
+ request, RequestNotifier::BackgroundSavePageResult::LOADING_FAILURE);
EXPECT_EQ(LastNotificationType::DOWNLOAD_FAILED,
notifier()->last_notification_type());
EXPECT_EQ(kTestGuid, notifier()->download_item()->guid);
« no previous file with comments | « components/offline_pages/core/background/request_notifier.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698