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

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

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 | « base/debug/trace_event.h ('k') | webkit/glue/webkitplatformsupport_impl.cc » ('j') | 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 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_
6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); 66 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
67 virtual void decrementStatsCounter(const char* name); 67 virtual void decrementStatsCounter(const char* name);
68 virtual void incrementStatsCounter(const char* name); 68 virtual void incrementStatsCounter(const char* name);
69 virtual void histogramCustomCounts( 69 virtual void histogramCustomCounts(
70 const char* name, int sample, int min, int max, int bucket_count); 70 const char* name, int sample, int min, int max, int bucket_count);
71 virtual void histogramEnumeration( 71 virtual void histogramEnumeration(
72 const char* name, int sample, int boundary_value); 72 const char* name, int sample, int boundary_value);
73 virtual bool isTraceEventEnabled() const; 73 virtual bool isTraceEventEnabled() const;
74 virtual void traceEventBegin(const char* name, void* id, const char* extra); 74 virtual void traceEventBegin(const char* name, void* id, const char* extra);
75 virtual void traceEventEnd(const char* name, void* id, const char* extra); 75 virtual void traceEventEnd(const char* name, void* id, const char* extra);
76 virtual const unsigned char* getCategoryEnabled(const char* category_name); 76 virtual const unsigned char* getTraceCategoryEnabledFlag(
77 const char* category_name);
77 virtual int addTraceEvent( 78 virtual int addTraceEvent(
78 char phase, 79 char phase,
79 const unsigned char* category_enabled, 80 const unsigned char* category_enabled,
80 const char* name, 81 const char* name,
81 unsigned long long id, 82 unsigned long long id,
82 int num_args, 83 int num_args,
83 const char** arg_names, 84 const char** arg_names,
84 const unsigned char* arg_types, 85 const unsigned char* arg_types,
85 const unsigned long long* arg_values, 86 const unsigned long long* arg_values,
86 int threshold_begin_id, 87 int threshold_begin_id,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void (*shared_timer_func_)(); 156 void (*shared_timer_func_)();
156 double shared_timer_fire_time_; 157 double shared_timer_fire_time_;
157 int shared_timer_suspended_; // counter 158 int shared_timer_suspended_; // counter
158 WebThemeEngineImpl theme_engine_; 159 WebThemeEngineImpl theme_engine_;
159 base::ThreadLocalStorage::Slot current_thread_slot_; 160 base::ThreadLocalStorage::Slot current_thread_slot_;
160 }; 161 };
161 162
162 } // namespace webkit_glue 163 } // namespace webkit_glue
163 164
164 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 165 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « base/debug/trace_event.h ('k') | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698