diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-03 13:42:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:27:51 +0000 |
commit | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch) | |
tree | d29d987c4d7b173cf853279b79a51598f104b403 /chromium/net/reporting/reporting_network_change_observer_unittest.cc | |
parent | 830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff) | |
download | qtwebengine-chromium-8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec.tar.gz |
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/net/reporting/reporting_network_change_observer_unittest.cc')
-rw-r--r-- | chromium/net/reporting/reporting_network_change_observer_unittest.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/net/reporting/reporting_network_change_observer_unittest.cc b/chromium/net/reporting/reporting_network_change_observer_unittest.cc index ce114d1ab3b..ae35fbda87e 100644 --- a/chromium/net/reporting/reporting_network_change_observer_unittest.cc +++ b/chromium/net/reporting/reporting_network_change_observer_unittest.cc @@ -60,8 +60,8 @@ class ReportingNetworkChangeObserverTest : public ReportingTestBase { TEST_F(ReportingNetworkChangeObserverTest, ClearNothing) { ReportingPolicy new_policy = policy(); - new_policy.clear_reports_on_network_changes = false; - new_policy.clear_clients_on_network_changes = false; + new_policy.persist_reports_across_network_changes = true; + new_policy.persist_clients_across_network_changes = true; UsePolicy(new_policy); cache()->AddReport(kUrl_, kGroup_, kType_, @@ -79,8 +79,8 @@ TEST_F(ReportingNetworkChangeObserverTest, ClearNothing) { TEST_F(ReportingNetworkChangeObserverTest, ClearReports) { ReportingPolicy new_policy = policy(); - new_policy.clear_reports_on_network_changes = true; - new_policy.clear_clients_on_network_changes = false; + new_policy.persist_reports_across_network_changes = false; + new_policy.persist_clients_across_network_changes = true; UsePolicy(new_policy); cache()->AddReport(kUrl_, kGroup_, kType_, @@ -98,8 +98,8 @@ TEST_F(ReportingNetworkChangeObserverTest, ClearReports) { TEST_F(ReportingNetworkChangeObserverTest, ClearClients) { ReportingPolicy new_policy = policy(); - new_policy.clear_reports_on_network_changes = false; - new_policy.clear_clients_on_network_changes = true; + new_policy.persist_reports_across_network_changes = true; + new_policy.persist_clients_across_network_changes = false; UsePolicy(new_policy); cache()->AddReport(kUrl_, kGroup_, kType_, @@ -117,8 +117,8 @@ TEST_F(ReportingNetworkChangeObserverTest, ClearClients) { TEST_F(ReportingNetworkChangeObserverTest, ClearReportsAndClients) { ReportingPolicy new_policy = policy(); - new_policy.clear_reports_on_network_changes = true; - new_policy.clear_clients_on_network_changes = true; + new_policy.persist_reports_across_network_changes = false; + new_policy.persist_clients_across_network_changes = false; UsePolicy(new_policy); cache()->AddReport(kUrl_, kGroup_, kType_, |