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

Unified Diff: net/base/sdch_dictionary_fetcher.h

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes. Lots. Created 6 years, 3 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/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_;

Powered by Google App Engine
This is Rietveld 408576698