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

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

Issue 19741003: Add support for sparse histograms to WebKitPlatformSupportImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comment Created 7 years, 5 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 | « 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) 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
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
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_
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