DescriptionResourceRequestAllowedNotifier didn't work as expected
Following problems will be fixed by this change.
1) OnResourceRequestsAllowed() was invoked even if network was offline
2) ResourceRequestsAllowed() returned true even though network was offline
3) OnResourceRequestsAllowed() was not invoked even if network went online
See also http://crbug.com/249607 for each scenario in details.
BUG=249607
TEST=unit_tests --gtest_filter='ResourceRequestAllowedNotifierTest.*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207199
Patch Set 1 : split from 15949022 #Patch Set 2 : one more fix #
Total comments: 15
Patch Set 3 : review #2 #Patch Set 4 : (rebase) #Patch Set 5 : fix resource_request_allowed_notifier_test_util.cc #
Total comments: 4
Patch Set 6 : add ForTesting #Patch Set 7 : remove redundant call, and fix comments #
Total comments: 2
Patch Set 8 : remove redundant comment #Patch Set 9 : (rebase) #
Messages
Total messages: 16 (0 generated)
|