DescriptionModify IPC call to Data Reduction Proxy to properly record
the PLT histograms for LoFi.
This CL adds 2 more boolean parameters to an existing IPC call
that tells us whether the page load happened with LoFi on with
bad network conditions or LoFi off with
bad network conditions. The methods in the data reduction
proxy code currently return false and would be fixed in the
forthcoming CL.
Auto LoFi status keeps changing (on a page load basis)
depending on the network conditions (e.g., enabled only when network
quality is bad). Just because session is in a field trial does
not guarantee that LoFi would ever be used. Using a synthetic
trial or only using the field trial will give very
noisy data in this case.
This is a temporary CL for LoFi Android experiment. Eventually,
we want to read the LoFi status using the headers of the
response instead of reading the current LoFi status (which might
be a bit stale) but that requires putting custom
HTTP headers in the response message from data saver proxy.
BUG=485633
Committed: https://crrev.com/9b2675127847bbdecbbd630ee4c13fec33e67f4b
Cr-Commit-Position: refs/heads/master@{#329776}
Patch Set 1 #Patch Set 2 : Minor fixes to comments. #
Total comments: 4
Patch Set 3 : Made LoFi status an enum #Patch Set 4 : Change the variable names to be more intuitive. #
Total comments: 10
Patch Set 5 : Addressed comments. #
Total comments: 4
Patch Set 6 : Addressed Alexei's comments #
Total comments: 2
Patch Set 7 : Removed enum keyword #Patch Set 8 : Fixed minor typo in test #Messages
Total messages: 38 (9 generated)
|