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

Side by Side Diff: components/web_cache/renderer/web_cache_memory_dump_provider.h

Issue 1304073006: Revert of Add WebCache memory usage in Blink to chrome://tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@discardable_fix
Patch Set: Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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.
4
5 #ifndef COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_MEMORY_DUMP_PROVIDER_H
6 #define COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_MEMORY_DUMP_PROVIDER_H
7
8 #include "base/lazy_instance.h"
9 #include "base/trace_event/memory_dump_provider.h"
10
11 namespace web_cache {
12
13 class WebCacheMemoryDumpProvider
14 : public base::trace_event::MemoryDumpProvider {
15 public:
16 static WebCacheMemoryDumpProvider* GetInstance();
17
18 // base::trace_event::MemoryDumpProvider implementation.
19 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
20 base::trace_event::ProcessMemoryDump* pmd) override;
21
22 private:
23 friend struct base::DefaultLazyInstanceTraits<WebCacheMemoryDumpProvider>;
24
25 WebCacheMemoryDumpProvider();
26 ~WebCacheMemoryDumpProvider() override;
27
28 DISALLOW_COPY_AND_ASSIGN(WebCacheMemoryDumpProvider);
29 };
30
31 } // namespace web_cache
32
33 #endif // COMPONENTS_WEB_CACHE_RENDERER_WEB_CACHE_MEMORY_DUMP_PROVIDER_H
OLDNEW
« no previous file with comments | « components/web_cache/renderer/BUILD.gn ('k') | components/web_cache/renderer/web_cache_memory_dump_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698