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

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

Issue 8373003: Implement WebKitPlatformSupport::isTraceCategoryEnabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 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
« no previous file with comments | « no previous file | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/platform_file.h" 8 #include "base/platform_file.h"
9 #include "base/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual WebKit::WebURLLoader* createURLLoader(); 47 virtual WebKit::WebURLLoader* createURLLoader();
48 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); 48 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
49 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 49 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
50 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); 50 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
51 virtual void decrementStatsCounter(const char* name); 51 virtual void decrementStatsCounter(const char* name);
52 virtual void incrementStatsCounter(const char* name); 52 virtual void incrementStatsCounter(const char* name);
53 virtual void histogramCustomCounts( 53 virtual void histogramCustomCounts(
54 const char* name, int sample, int min, int max, int bucket_count); 54 const char* name, int sample, int min, int max, int bucket_count);
55 virtual void histogramEnumeration( 55 virtual void histogramEnumeration(
56 const char* name, int sample, int boundary_value); 56 const char* name, int sample, int boundary_value);
57 virtual bool isTraceEventEnabledForCategory(const char* category) const;
tony 2011/10/21 23:20:06 OVERRIDE?
jamesr 2011/10/25 15:16:41 No, do not OVERRIDE
57 virtual void traceEventBegin(const char* name, void* id, const char* extra); 58 virtual void traceEventBegin(const char* name, void* id, const char* extra);
58 virtual void traceEventEnd(const char* name, void* id, const char* extra); 59 virtual void traceEventEnd(const char* name, void* id, const char* extra);
59 virtual WebKit::WebData loadResource(const char* name); 60 virtual WebKit::WebData loadResource(const char* name);
60 virtual bool loadAudioResource( 61 virtual bool loadAudioResource(
61 WebKit::WebAudioBus* destination_bus, const char* audio_file_data, 62 WebKit::WebAudioBus* destination_bus, const char* audio_file_data,
62 size_t data_size, double sample_rate); 63 size_t data_size, double sample_rate);
63 virtual WebKit::WebString queryLocalizedString( 64 virtual WebKit::WebString queryLocalizedString(
64 WebKit::WebLocalizedString::Name name); 65 WebKit::WebLocalizedString::Name name);
65 virtual WebKit::WebString queryLocalizedString( 66 virtual WebKit::WebString queryLocalizedString(
66 WebKit::WebLocalizedString::Name name, int numeric_value); 67 WebKit::WebLocalizedString::Name name, int numeric_value);
(...skipping 29 matching lines...) Expand all
96 void (*shared_timer_func_)(); 97 void (*shared_timer_func_)();
97 double shared_timer_fire_time_; 98 double shared_timer_fire_time_;
98 int shared_timer_suspended_; // counter 99 int shared_timer_suspended_; // counter
99 WebThemeEngineImpl theme_engine_; 100 WebThemeEngineImpl theme_engine_;
100 base::ThreadLocalStorage::Slot current_thread_slot_; 101 base::ThreadLocalStorage::Slot current_thread_slot_;
101 }; 102 };
102 103
103 } // namespace webkit_glue 104 } // namespace webkit_glue
104 105
105 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 106 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698