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

Side by Side Diff: third_party/WebKit/Source/platform/tracing/MemoryCacheDumpProvider.cpp

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 #include "platform/MemoryCacheDumpProvider.h" 5 #include "platform/tracing/MemoryCacheDumpProvider.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 DEFINE_TRACE(MemoryCacheDumpClient) {} 9 DEFINE_TRACE(MemoryCacheDumpClient) {}
10 10
11 MemoryCacheDumpProvider* MemoryCacheDumpProvider::instance() { 11 MemoryCacheDumpProvider* MemoryCacheDumpProvider::instance() {
12 DEFINE_STATIC_LOCAL(MemoryCacheDumpProvider, instance, ()); 12 DEFINE_STATIC_LOCAL(MemoryCacheDumpProvider, instance, ());
13 return &instance; 13 return &instance;
14 } 14 }
15 15
(...skipping 22 matching lines...) Expand all
38 38
39 WebProcessMemoryDump dump(args.level_of_detail, memoryDump); 39 WebProcessMemoryDump dump(args.level_of_detail, memoryDump);
40 return m_client->onMemoryDump(level, &dump); 40 return m_client->onMemoryDump(level, &dump);
41 } 41 }
42 42
43 MemoryCacheDumpProvider::MemoryCacheDumpProvider() {} 43 MemoryCacheDumpProvider::MemoryCacheDumpProvider() {}
44 44
45 MemoryCacheDumpProvider::~MemoryCacheDumpProvider() {} 45 MemoryCacheDumpProvider::~MemoryCacheDumpProvider() {}
46 46
47 } // namespace blink 47 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698