OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_GL_ANGLE_PLATFORM_IMPL_H_ | 5 #ifndef UI_GL_ANGLE_PLATFORM_IMPL_H_ |
6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_ | 6 #define UI_GL_ANGLE_PLATFORM_IMPL_H_ |
7 | 7 |
8 // Implements the ANGLE platform interface, for functionality like | 8 // Implements the ANGLE platform interface, for functionality like |
9 // histograms and trace profiling. | 9 // histograms and trace profiling. |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 TraceEventHandle handle) override; | 39 TraceEventHandle handle) override; |
40 void histogramCustomCounts(const char* name, | 40 void histogramCustomCounts(const char* name, |
41 int sample, | 41 int sample, |
42 int min, | 42 int min, |
43 int max, | 43 int max, |
44 int bucket_count) override; | 44 int bucket_count) override; |
45 void histogramEnumeration(const char* name, | 45 void histogramEnumeration(const char* name, |
46 int sample, | 46 int sample, |
47 int boundary_value) override; | 47 int boundary_value) override; |
48 void histogramSparse(const char* name, int sample) override; | 48 void histogramSparse(const char* name, int sample) override; |
| 49 void histogramBoolean(const char* name, bool sample) override; |
49 | 50 |
50 private: | 51 private: |
51 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl); | 52 DISALLOW_COPY_AND_ASSIGN(ANGLEPlatformImpl); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace gfx | 55 } // namespace gfx |
55 | 56 |
56 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_ | 57 #endif // UI_GL_ANGLE_PLATFORM_IMPL_H_ |
OLD | NEW |