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

Unified Diff: net/sdch/sdch_owner.h

Issue 1133763003: SdchObserver: add OnDictionary{Added,Removed} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: net/sdch/sdch_owner.h
diff --git a/net/sdch/sdch_owner.h b/net/sdch/sdch_owner.h
index 04b83a1875aaeb90702b87805d12fc20be5f1d64..162ad012616893874adb1a34d15e3e2188bb8703 100644
--- a/net/sdch/sdch_owner.h
+++ b/net/sdch/sdch_owner.h
@@ -56,6 +56,11 @@ class NET_EXPORT SdchOwner : public SdchObserver, public PrefStore::Observer {
void SetMinSpaceForDictionaryFetch(size_t min_space_for_dictionary_fetch);
// SdchObserver implementation.
+ void OnDictionaryAdded(SdchManager* manager,
+ const GURL& dictionary_url,
+ const std::string& server_hash) override;
+ void OnDictionaryRemoved(SdchManager* manager,
+ const std::string& server_hash) override;
void OnDictionaryUsed(SdchManager* manager,
const std::string& server_hash) override;
void OnGetDictionary(SdchManager* manager,

Powered by Google App Engine
This is Rietveld 408576698