Index: net/base/sdch_dictionary_fetcher.h |
diff --git a/net/base/sdch_dictionary_fetcher.h b/net/base/sdch_dictionary_fetcher.h |
index f70d56a5ccb03f894fe3f1f34da025c88448fda9..52f42aa79d4aa8d187762edffcf26ae96e897e0f 100644 |
--- a/net/base/sdch_dictionary_fetcher.h |
+++ b/net/base/sdch_dictionary_fetcher.h |
@@ -44,7 +44,7 @@ class NET_EXPORT SdchDictionaryFetcher |
virtual ~SdchDictionaryFetcher(); |
// Implementation of SdchFetcher methods. |
- virtual void Schedule(const GURL& dictionary_url) OVERRIDE; |
+ virtual bool Schedule(const GURL& dictionary_url) OVERRIDE; |
virtual 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(SdchProblemCodes error); |
+ |
State next_state_; |
bool in_loop_; |