| Index: content/child/site_isolation_stats_gatherer_browsertest.cc
|
| diff --git a/content/child/site_isolation_stats_gatherer_browsertest.cc b/content/child/site_isolation_stats_gatherer_browsertest.cc
|
| index 68ccf31cc2283a57cea1b4f13d14864b1bd47e8d..d38d0fce3ec61a2d874fe33581e77ce602f34ec7 100644
|
| --- a/content/child/site_isolation_stats_gatherer_browsertest.cc
|
| +++ b/content/child/site_isolation_stats_gatherer_browsertest.cc
|
| @@ -81,7 +81,7 @@ class SiteIsolationStatsGathererBrowserTest : public ContentBrowserTest {
|
| std::string base = "SiteIsolation.XSD." + bucket;
|
| if (should_be_blocked) {
|
| expected_metrics[base + ".Blocked"] = 1;
|
| - expected_metrics[base + ".Blocked.RenderableStatusCode"] = 1;
|
| + expected_metrics[base + ".Blocked.RenderableStatusCode2"] = 1;
|
| } else {
|
| expected_metrics[base + ".NotBlocked"] = 1;
|
| if (base::MatchPattern(resource_name, "*js.*")) {
|
| @@ -102,9 +102,9 @@ class SiteIsolationStatsGathererBrowserTest : public ContentBrowserTest {
|
| if (should_be_blocked) {
|
| static_assert(13 == RESOURCE_TYPE_XHR, "Histogram enums mustn't change.");
|
| EXPECT_THAT(
|
| - histograms.GetAllSamples(base + ".Blocked.RenderableStatusCode"),
|
| + histograms.GetAllSamples(base + ".Blocked.RenderableStatusCode2"),
|
| testing::ElementsAre(base::Bucket(RESOURCE_TYPE_XHR, 1)))
|
| - << "The wrong RenderableStatusCode bucket was incremented.";
|
| + << "The wrong RenderableStatusCode2 bucket was incremented.";
|
| }
|
| }
|
|
|
|
|