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

Unified Diff: net/filter/sdch_source_stream.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: self review Created 4 years 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/filter/sdch_source_stream.h
diff --git a/net/filter/sdch_source_stream.h b/net/filter/sdch_source_stream.h
index 6e9d3194d9e3b48a955294647b3a88485860bec4..08e2d18426c8277844d1cd4e16615223b68bde60 100644
--- a/net/filter/sdch_source_stream.h
+++ b/net/filter/sdch_source_stream.h
@@ -6,6 +6,7 @@
#define NET_FILTER_SDCH_SOURCE_STREAM_H_
#include <memory>
+#include <string>
#include "base/macros.h"
#include "net/base/net_export.h"
@@ -50,7 +51,7 @@ class NET_EXPORT_PRIVATE SdchSourceStream : public FilterSourceStream {
// Pass an alternative output to downstream.
REPLACE_OUTPUT,
};
- virtual ~Delegate(){};
+ virtual ~Delegate() {}
// Called by the SdchSourceStream if an error occurs while parsing the
// server-sent dictionary ID, or if the specified dictionary can't be loaded
@@ -105,6 +106,9 @@ class NET_EXPORT_PRIVATE SdchSourceStream : public FilterSourceStream {
SourceStream::SourceType type);
~SdchSourceStream() override;
+ void DumpMemoryStatsImpl(
+ base::trace_event::MemoryAllocatorDump* dump) const override;
+
private:
// SourceStream implementation:
std::string GetTypeAsString() const override;

Powered by Google App Engine
This is Rietveld 408576698