Index: net/base/sdch_dictionary_fetcher.h |
diff --git a/net/base/sdch_dictionary_fetcher.h b/net/base/sdch_dictionary_fetcher.h |
index d74f64341e77803a4ec2aa62316ad69cfd6c2ca0..2a78219b79d9744f72f07bff2253ec7138c38289 100644 |
--- a/net/base/sdch_dictionary_fetcher.h |
+++ b/net/base/sdch_dictionary_fetcher.h |
@@ -44,7 +44,7 @@ class NET_EXPORT SdchDictionaryFetcher |
~SdchDictionaryFetcher() override; |
// Implementation of SdchFetcher methods. |
- void Schedule(const GURL& dictionary_url) override; |
+ bool Schedule(const GURL& dictionary_url) override; |
void Cancel() override; |
// Implementation of URLRequest::Delegate methods. |
@@ -67,6 +67,9 @@ class NET_EXPORT SdchDictionaryFetcher |
int DoRead(int rv); |
int DoCompleteRequest(int rv); |
+ // Record SDCH problem histogram and add netlog event. |
+ void LogDictionaryFetchError(SdchProblemCode error); |
+ |
State next_state_; |
bool in_loop_; |