| OLD | NEW |
| 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/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 const WebKit::WebURL& url, WebKit::WebString& mimetype, | 68 const WebKit::WebURL& url, WebKit::WebString& mimetype, |
| 69 WebKit::WebString& charset); | 69 WebKit::WebString& charset); |
| 70 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const; | 70 virtual WebKit::WebURLError cancelledError(const WebKit::WebURL& url) const; |
| 71 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 71 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
| 72 virtual void decrementStatsCounter(const char* name); | 72 virtual void decrementStatsCounter(const char* name); |
| 73 virtual void incrementStatsCounter(const char* name); | 73 virtual void incrementStatsCounter(const char* name); |
| 74 virtual void histogramCustomCounts( | 74 virtual void histogramCustomCounts( |
| 75 const char* name, int sample, int min, int max, int bucket_count); | 75 const char* name, int sample, int min, int max, int bucket_count); |
| 76 virtual void histogramEnumeration( | 76 virtual void histogramEnumeration( |
| 77 const char* name, int sample, int boundary_value); | 77 const char* name, int sample, int boundary_value); |
| 78 virtual void histogramSparse(const char* name, int sample); |
| 78 virtual const unsigned char* getTraceCategoryEnabledFlag( | 79 virtual const unsigned char* getTraceCategoryEnabledFlag( |
| 79 const char* category_name); | 80 const char* category_name); |
| 80 virtual long* getTraceSamplingState(const unsigned thread_bucket); | 81 virtual long* getTraceSamplingState(const unsigned thread_bucket); |
| 81 virtual void addTraceEvent( | 82 virtual void addTraceEvent( |
| 82 char phase, | 83 char phase, |
| 83 const unsigned char* category_group_enabled, | 84 const unsigned char* category_group_enabled, |
| 84 const char* name, | 85 const char* name, |
| 85 unsigned long long id, | 86 unsigned long long id, |
| 86 int num_args, | 87 int num_args, |
| 87 const char** arg_names, | 88 const char** arg_names, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; | 147 base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; |
| 147 void (*shared_timer_func_)(); | 148 void (*shared_timer_func_)(); |
| 148 double shared_timer_fire_time_; | 149 double shared_timer_fire_time_; |
| 149 bool shared_timer_fire_time_was_set_while_suspended_; | 150 bool shared_timer_fire_time_was_set_while_suspended_; |
| 150 int shared_timer_suspended_; // counter | 151 int shared_timer_suspended_; // counter |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 } // namespace webkit_glue | 154 } // namespace webkit_glue |
| 154 | 155 |
| 155 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ | 156 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ |
| OLD | NEW |