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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1406213005: [tracing] Add names to memory-infra dumpers for debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memory-infra-runtime
Patch Set: Rebase + fix android Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/containers/scoped_ptr_hash_map.h" 9 #include "base/containers/scoped_ptr_hash_map.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 double timestamp, 137 double timestamp,
138 int num_args, 138 int num_args,
139 const char** arg_names, 139 const char** arg_names,
140 const unsigned char* arg_types, 140 const unsigned char* arg_types,
141 const unsigned long long* arg_values, 141 const unsigned long long* arg_values,
142 blink::WebConvertableToTraceFormat* convertable_values, 142 blink::WebConvertableToTraceFormat* convertable_values,
143 unsigned char flags); 143 unsigned char flags);
144 void updateTraceEventDuration(const unsigned char* category_group_enabled, 144 void updateTraceEventDuration(const unsigned char* category_group_enabled,
145 const char* name, 145 const char* name,
146 TraceEventHandle) override; 146 TraceEventHandle) override;
147 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp) override; 147 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp,
148 const char* name) override;
148 void unregisterMemoryDumpProvider( 149 void unregisterMemoryDumpProvider(
149 blink::WebMemoryDumpProvider* wmdp) override; 150 blink::WebMemoryDumpProvider* wmdp) override;
150 blink::WebProcessMemoryDump* createProcessMemoryDump() override; 151 blink::WebProcessMemoryDump* createProcessMemoryDump() override;
151 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( 152 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid(
152 const blink::WebString& guidStr) override; 153 const blink::WebString& guidStr) override;
153 154
154 blink::WebData loadResource(const char* name) override; 155 blink::WebData loadResource(const char* name) override;
155 blink::WebString queryLocalizedString( 156 blink::WebString queryLocalizedString(
156 blink::WebLocalizedString::Name name) override; 157 blink::WebLocalizedString::Name name) override;
157 virtual blink::WebString queryLocalizedString( 158 virtual blink::WebString queryLocalizedString(
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 209 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
209 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 210 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
210 scoped_refptr<PushDispatcher> push_dispatcher_; 211 scoped_refptr<PushDispatcher> push_dispatcher_;
211 scoped_ptr<PermissionDispatcher> permission_client_; 212 scoped_ptr<PermissionDispatcher> permission_client_;
212 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 213 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
213 }; 214 };
214 215
215 } // namespace content 216 } // namespace content
216 217
217 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 218 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698