1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEMORY_BENCHMARK_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEMORY_BENCHMARK_MESSAGE_FILTER_H_
10 #include "content/public/browser/browser_message_filter.h"
14 class MemoryBenchmarkMessageFilter : public BrowserMessageFilter {
16 MemoryBenchmarkMessageFilter();
18 bool OnMessageReceived(const IPC::Message& message) override;
21 ~MemoryBenchmarkMessageFilter() override;
23 void OnHeapProfilerDump(const std::string& reason);
25 DISALLOW_COPY_AND_ASSIGN(MemoryBenchmarkMessageFilter);
28 } // namespace content
30 #endif // CONTENT_BROWSER_RENDERER_HOST_MEMORY_BENCHMARK_MESSAGE_FILTER_H_