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

Unified Diff: net/filter/sdch_filter.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/filter/mock_filter_context.h ('k') | net/filter/sdch_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_filter.cc
diff --git a/net/filter/sdch_filter.cc b/net/filter/sdch_filter.cc
index 30392cd06ad07166144dbadfaca4543f23a56878..cb3150cb0be8bd0fb1b5ddd7ca497effa982497d 100644
--- a/net/filter/sdch_filter.cc
+++ b/net/filter/sdch_filter.cc
@@ -177,6 +177,11 @@ SdchFilter::~SdchFilter() {
// Allow latency experiments to proceed.
url_request_context_->sdch_manager()->SetAllowLatencyExperiment(
url_, true);
+
+ // Notify successful dictionary usage.
+ url_request_context_->sdch_manager()->OnDictionaryUsed(
+ dictionary_->server_hash());
+
return;
}
case PASS_THROUGH: {
« no previous file with comments | « net/filter/mock_filter_context.h ('k') | net/filter/sdch_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698