Chromium Code Reviews
DescriptionPrerender: Remove MatchComplete
This removes the control group emulation logic (i.e. "MatchComplete"), but does
not remove the MatchCompleteStatus yet - postponed for a followup change.
The problem being solved was:
1. Prerendering in the Control Group pretends that it performs prerenders as
usual, but actually is a no-op.
2. In the Control Group there is no knowledge of cases when Prerender gives up
early.
3. To match the FinalStatus of the Control Group the new MATCH_COMPLETE_GROUP
was introduced. It worked as a usual prerender, and in case of giving up
early it provided a "dummy" prerender and recorded use/no-use for the dummy
in the lifetime.
Reasons for removing:
1. the current code probably cannot be reused for future experiments,
2. makes Prerender lifetime simpler.
BUG=609105
Committed: https://crrev.com/3e302bd544e4ac9ac1b119424a5b4d100340c70b
Cr-Commit-Position: refs/heads/master@{#392952}
Patch Set 1 #Patch Set 2 : Removed: MakeIntoMatchCompleteReplacement, MatchComplete observers, PrerenderBrowserTest.PrerenderD… #Patch Set 3 : PrerenderBrowserTestWithExtensions.DISABLED_StreamsTest #Patch Set 4 : PrerenderBrowserTestWithExtensions.DISABLED_StreamsTest #Patch Set 5 : NotifyPrerenderStop() when prerendering_has_started #Patch Set 6 : re-enable StreamsTest #Patch Set 7 : added TODO for MatchCompleteStatus #
Total comments: 14
Patch Set 8 : rebase #Patch Set 9 : re-enable PrerenderDeferredSynchronousXHR #Messages
Total messages: 20 (10 generated)
|