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

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: Remove manager parameter from SdchObserver 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..ec5d82d1224c8db4f0a8e53d7778355cdeb5b580 100644
--- a/net/sdch/sdch_owner.h
+++ b/net/sdch/sdch_owner.h
@@ -56,12 +56,13 @@ class NET_EXPORT SdchOwner : public SdchObserver, public PrefStore::Observer {
void SetMinSpaceForDictionaryFetch(size_t min_space_for_dictionary_fetch);
// SdchObserver implementation.
- void OnDictionaryUsed(SdchManager* manager,
- const std::string& server_hash) override;
- void OnGetDictionary(SdchManager* manager,
- const GURL& request_url,
+ void OnDictionaryAdded(const GURL& dictionary_url,
+ const std::string& server_hash) override;
+ void OnDictionaryRemoved(const std::string& server_hash) override;
+ void OnDictionaryUsed(const std::string& server_hash) override;
+ void OnGetDictionary(const GURL& request_url,
const GURL& dictionary_url) override;
- void OnClearDictionaries(SdchManager* manager) override;
+ void OnClearDictionaries() override;
// PrefStore::Observer implementation.
void OnPrefValueChanged(const std::string& key) override;

Powered by Google App Engine
This is Rietveld 408576698