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

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: Change comments and netlog field name Created 6 years, 5 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 b657b8f80c38900a889e0065a0dd410a1ef6c88b..e70a25b85712bf956145437eebf773f5089b1155 100644
--- a/net/base/sdch_dictionary_fetcher.h
+++ b/net/base/sdch_dictionary_fetcher.h
@@ -54,6 +54,9 @@ class NET_EXPORT SdchDictionaryFetcher
// in the |fetch_queue_|.
void StartFetching();
+ // Report sdch problem to netlog and add histogram.
+ void LogSdchProblem(SdchManager::ProblemCodes problem, GURL url) const;
+
// Implementation of URLFetcherDelegate. Called after transmission
// completes (either successfully or with failure).
virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
@@ -91,6 +94,8 @@ class NET_EXPORT SdchDictionaryFetcher
// fetching.
scoped_refptr<URLRequestContextGetter> context_;
+ BoundNetLog net_log_;
+
DISALLOW_COPY_AND_ASSIGN(SdchDictionaryFetcher);
};

Powered by Google App Engine
This is Rietveld 408576698