Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: net/filter/sdch_policy_delegate.cc

Issue 2373003003: Switch to use net::FilterSourceStream from net::Filter (Closed)
Patch Set: rebased onto sdch fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_error_list.h ('k') | net/url_request/url_request_file_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_policy_delegate.cc
diff --git a/net/filter/sdch_policy_delegate.cc b/net/filter/sdch_policy_delegate.cc
index d6c09094d90ba72b68507994fb2e8de0700d0578..82b6541b285b15da693180d302212f861a1be4ce 100644
--- a/net/filter/sdch_policy_delegate.cc
+++ b/net/filter/sdch_policy_delegate.cc
@@ -399,7 +399,7 @@ void SdchPolicyDelegate::OnStreamDestroyed(
}
switch (input_state) {
case SdchSourceStream::STATE_DECODE: {
- job_->RecordPacketStats(FilterContext::StatisticSelector::SDCH_DECODE);
+ job_->RecordPacketStats(StatisticSelector::SDCH_DECODE);
// Allow latency experiments to proceed.
sdch_manager_->SetAllowLatencyExperiment(url_, true);
@@ -412,8 +412,7 @@ void SdchPolicyDelegate::OnStreamDestroyed(
SdchManager::LogSdchProblem(net_log_, SDCH_PRIOR_TO_DICTIONARY);
return;
case SdchSourceStream::STATE_PASS_THROUGH:
- job_->RecordPacketStats(
- FilterContext::StatisticSelector::SDCH_PASSTHROUGH);
+ job_->RecordPacketStats(StatisticSelector::SDCH_PASSTHROUGH);
return;
case SdchSourceStream::STATE_OUTPUT_REPLACE:
// This is meta refresh case. Already accounted for when set.
« no previous file with comments | « net/base/net_error_list.h ('k') | net/url_request/url_request_file_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698