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

Unified Diff: net/base/sdch_manager.h

Issue 2368433002: Add net::SdchSourceStream and net::SdchPolicyDelegate (Closed)
Patch Set: Fix histograms Created 4 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
« no previous file with comments | « no previous file | net/base/sdch_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_manager.h
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
index 90518f669d93c54937088e76fa0b1962f01298b0..dcb47717851b2c825785bf282bd95c370603ac63 100644
--- a/net/base/sdch_manager.h
+++ b/net/base/sdch_manager.h
@@ -26,6 +26,7 @@
#include "net/base/net_export.h"
#include "net/base/sdch_dictionary.h"
#include "net/base/sdch_problem_codes.h"
+#include "net/log/net_log_with_source.h"
class GURL;
@@ -194,6 +195,9 @@ class NET_EXPORT SdchManager {
void AddObserver(SdchObserver* observer);
void RemoveObserver(SdchObserver* observer);
+ // Logs an SDCH failure to UMA and |netlog|.
+ static void LogSdchProblem(NetLogWithSource netlog, SdchProblemCode problem);
+
static std::unique_ptr<DictionarySet> CreateEmptyDictionarySetForTesting();
private:
« no previous file with comments | « no previous file | net/base/sdch_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698