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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.h

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (Closed)
Patch Set: Created 3 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef FontCacheMemoryDumpProvider_h 5 #ifndef FontCacheMemoryDumpProvider_h
6 #define FontCacheMemoryDumpProvider_h 6 #define FontCacheMemoryDumpProvider_h
7 7
8 #include "base/trace_event/memory_dump_provider.h" 8 #include "base/trace_event/memory_dump_provider.h"
9 #include "base/trace_event/process_memory_dump.h" 9 #include "base/trace_event/process_memory_dump.h"
10 #include "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
11 #include "wtf/Allocator.h" 11 #include "platform/wtf/Allocator.h"
12 #include "wtf/Noncopyable.h" 12 #include "platform/wtf/Noncopyable.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class PLATFORM_EXPORT FontCacheMemoryDumpProvider final 16 class PLATFORM_EXPORT FontCacheMemoryDumpProvider final
17 : public base::trace_event::MemoryDumpProvider { 17 : public base::trace_event::MemoryDumpProvider {
18 USING_FAST_MALLOC(FontCacheMemoryDumpProvider); 18 USING_FAST_MALLOC(FontCacheMemoryDumpProvider);
19 19
20 public: 20 public:
21 static FontCacheMemoryDumpProvider* instance(); 21 static FontCacheMemoryDumpProvider* instance();
22 ~FontCacheMemoryDumpProvider() override {} 22 ~FontCacheMemoryDumpProvider() override {}
23 23
24 // base::trace_event::MemoryDumpProvider implementation. 24 // base::trace_event::MemoryDumpProvider implementation.
25 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs&, 25 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs&,
26 base::trace_event::ProcessMemoryDump*) override; 26 base::trace_event::ProcessMemoryDump*) override;
27 27
28 private: 28 private:
29 FontCacheMemoryDumpProvider() {} 29 FontCacheMemoryDumpProvider() {}
30 30
31 WTF_MAKE_NONCOPYABLE(FontCacheMemoryDumpProvider); 31 WTF_MAKE_NONCOPYABLE(FontCacheMemoryDumpProvider);
32 }; 32 };
33 33
34 } // namespace blink 34 } // namespace blink
35 35
36 #endif // FontCacheMemoryDumpProvider_h 36 #endif // FontCacheMemoryDumpProvider_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698