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

Unified Diff: chrome/browser/net/sdch_browsertest.cc

Issue 841883002: Add an eviction mechanism for SDCH dictionaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync'd to p310544 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 | « chrome/browser/net/chrome_sdch_policy.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/sdch_browsertest.cc
diff --git a/chrome/browser/net/sdch_browsertest.cc b/chrome/browser/net/sdch_browsertest.cc
index 32ca64a4da040608acf9ba8df44beaacf2c271bc..1ec8c9d321a88bd147e17cc7907d33f7645d1e51 100644
--- a/chrome/browser/net/sdch_browsertest.cc
+++ b/chrome/browser/net/sdch_browsertest.cc
@@ -610,6 +610,9 @@ class SdchBrowserTest : public InProcessBrowserTest,
}
// SdchObserver
+ void OnDictionaryUsed(net::SdchManager* manager,
+ const std::string& server_hash) override {}
+
void OnGetDictionary(net::SdchManager* manager,
const GURL& request_url,
const GURL& dictionary_url) override {
@@ -618,6 +621,7 @@ class SdchBrowserTest : public InProcessBrowserTest,
DCHECK(fetch_counts_.end() != fetch_counts_.find(manager));
++fetch_counts_[manager];
}
+
void OnClearDictionaries(net::SdchManager* manager) override {}
// URLFetcherDelegate
« no previous file with comments | « chrome/browser/net/chrome_sdch_policy.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698