| Index: components/offline_pages/core/background/request_coordinator_unittest.cc
|
| diff --git a/components/offline_pages/core/background/request_coordinator_unittest.cc b/components/offline_pages/core/background/request_coordinator_unittest.cc
|
| index 0850befe39ce06f99f703aec49c0e531a5b05ddf..b732165b4e44dde5168ea11c09ef3d84cbfff065 100644
|
| --- a/components/offline_pages/core/background/request_coordinator_unittest.cc
|
| +++ b/components/offline_pages/core/background/request_coordinator_unittest.cc
|
| @@ -666,6 +666,9 @@ TEST_F(RequestCoordinatorTest, OfflinerDoneRequestSucceeded) {
|
| // Check that the observer got the notification that we succeeded, and that
|
| // the request got removed from the queue.
|
| EXPECT_TRUE(observer().completed_called());
|
| + histograms().ExpectBucketCount(
|
| + "OfflinePages.Background.FinalSavePageResult.bookmark", 0 /* SUCCESS */,
|
| + 1);
|
| EXPECT_EQ(RequestCoordinator::BackgroundSavePageResult::SUCCESS,
|
| observer().last_status());
|
| }
|
| @@ -735,6 +738,9 @@ TEST_F(RequestCoordinatorTest, OfflinerDoneRequestFailed) {
|
| // subsequent notification that the request was removed) since we exceeded
|
| // retry count.
|
| EXPECT_TRUE(observer().completed_called());
|
| + histograms().ExpectBucketCount(
|
| + "OfflinePages.Background.FinalSavePageResult.bookmark",
|
| + 6 /* RETRY_COUNT_EXCEEDED */, 1);
|
| EXPECT_EQ(RequestCoordinator::BackgroundSavePageResult::RETRY_COUNT_EXCEEDED,
|
| observer().last_status());
|
| }
|
|
|