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

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: Remove unnecessary include Created 6 years, 2 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 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_;

Powered by Google App Engine
This is Rietveld 408576698