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

Side by Side Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 9234007: Cleanup trace_event.h, fix webkit API naming. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed BASE_EXPORT from inline TraceID Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/glue/webkitplatformsupport_impl.h" 5 #include "webkit/glue/webkitplatformsupport_impl.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <malloc.h> 8 #include <malloc.h>
9 #endif 9 #endif
10 10
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 void WebKitPlatformSupportImpl::traceEventBegin(const char* name, void* id, 298 void WebKitPlatformSupportImpl::traceEventBegin(const char* name, void* id,
299 const char* extra) { 299 const char* extra) {
300 TRACE_EVENT_BEGIN_ETW(name, id, extra); 300 TRACE_EVENT_BEGIN_ETW(name, id, extra);
301 } 301 }
302 302
303 void WebKitPlatformSupportImpl::traceEventEnd(const char* name, void* id, 303 void WebKitPlatformSupportImpl::traceEventEnd(const char* name, void* id,
304 const char* extra) { 304 const char* extra) {
305 TRACE_EVENT_END_ETW(name, id, extra); 305 TRACE_EVENT_END_ETW(name, id, extra);
306 } 306 }
307 307
308 const unsigned char* WebKitPlatformSupportImpl::getCategoryEnabled( 308 const unsigned char* WebKitPlatformSupportImpl::getTraceCategoryEnabledFlag(
309 const char* category_name) { 309 const char* category_name) {
310 return TRACE_EVENT_API_GET_CATEGORY_ENABLED(category_name); 310 return TRACE_EVENT_API_GET_CATEGORY_ENABLED(category_name);
311 } 311 }
312 312
313 int WebKitPlatformSupportImpl::addTraceEvent( 313 int WebKitPlatformSupportImpl::addTraceEvent(
314 char phase, 314 char phase,
315 const unsigned char* category_enabled, 315 const unsigned char* category_enabled,
316 const char* name, 316 const char* name,
317 unsigned long long id, 317 unsigned long long id,
318 int num_args, 318 int num_args,
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 worker_task_runner->OnWorkerRunLoopStarted(runLoop); 721 worker_task_runner->OnWorkerRunLoopStarted(runLoop);
722 } 722 }
723 723
724 void WebKitPlatformSupportImpl::didStopWorkerRunLoop( 724 void WebKitPlatformSupportImpl::didStopWorkerRunLoop(
725 const WebKit::WebWorkerRunLoop& runLoop) { 725 const WebKit::WebWorkerRunLoop& runLoop) {
726 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); 726 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
727 worker_task_runner->OnWorkerRunLoopStopped(runLoop); 727 worker_task_runner->OnWorkerRunLoopStopped(runLoop);
728 } 728 }
729 729
730 } // namespace webkit_glue 730 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698