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

Unified Diff: net/filter/sdch_source_stream.h

Issue 2540233002: Instrument SourceStream using MemoryDumpProvider
Patch Set: Rebased 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
« no previous file with comments | « net/filter/filter_source_stream.cc ('k') | net/filter/sdch_source_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..63d468b1d104826d313218ca42e25e10d7fcd04d 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,10 @@ class NET_EXPORT_PRIVATE SdchSourceStream : public FilterSourceStream {
SourceStream::SourceType type);
~SdchSourceStream() override;
+ void DumpMemoryStatsImpl(
+ base::trace_event::ProcessMemoryDump* pmd,
+ const std::string& parent_dump_absolute_name) const override;
+
private:
// SourceStream implementation:
std::string GetTypeAsString() const override;
« no previous file with comments | « net/filter/filter_source_stream.cc ('k') | net/filter/sdch_source_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698