| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/containers/scoped_ptr_hash_map.h" | 9 #include "base/containers/scoped_ptr_hash_map.h" |
| 10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 int max, | 112 int max, |
| 113 int bucket_count) override; | 113 int bucket_count) override; |
| 114 void histogramEnumeration(const char* name, | 114 void histogramEnumeration(const char* name, |
| 115 int sample, | 115 int sample, |
| 116 int boundary_value) override; | 116 int boundary_value) override; |
| 117 void histogramSparse(const char* name, int sample) override; | 117 void histogramSparse(const char* name, int sample) override; |
| 118 const unsigned char* getTraceCategoryEnabledFlag( | 118 const unsigned char* getTraceCategoryEnabledFlag( |
| 119 const char* category_name) override; | 119 const char* category_name) override; |
| 120 TraceEventAPIAtomicWord* getTraceSamplingState( | 120 TraceEventAPIAtomicWord* getTraceSamplingState( |
| 121 const unsigned thread_bucket) override; | 121 const unsigned thread_bucket) override; |
| 122 virtual TraceEventHandle addTraceEvent( | 122 TraceEventHandle addTraceEvent( |
| 123 char phase, | 123 char phase, |
| 124 const unsigned char* category_group_enabled, | 124 const unsigned char* category_group_enabled, |
| 125 const char* name, | 125 const char* name, |
| 126 unsigned long long id, | 126 unsigned long long id, |
| 127 unsigned long long bind_id, | 127 unsigned long long bind_id, |
| 128 double timestamp, | 128 double timestamp, |
| 129 int num_args, | 129 int num_args, |
| 130 const char** arg_names, | 130 const char** arg_names, |
| 131 const unsigned char* arg_types, | 131 const unsigned char* arg_types, |
| 132 const unsigned long long* arg_values, | 132 const unsigned long long* arg_values, |
| 133 blink::WebConvertableToTraceFormat* convertable_values, | 133 blink::WebConvertableToTraceFormat* convertable_values, |
| 134 unsigned int flags); | 134 unsigned int flags) override; |
| 135 virtual TraceEventHandle addTraceEvent( | 135 virtual TraceEventHandle addTraceEvent( |
| 136 char phase, | 136 char phase, |
| 137 const unsigned char* category_group_enabled, | 137 const unsigned char* category_group_enabled, |
| 138 const char* name, | 138 const char* name, |
| 139 unsigned long long id, | 139 unsigned long long id, |
| 140 double timestamp, | 140 double timestamp, |
| 141 int num_args, | 141 int num_args, |
| 142 const char** arg_names, | 142 const char** arg_names, |
| 143 const unsigned char* arg_types, | 143 const unsigned char* arg_types, |
| 144 const unsigned long long* arg_values, | 144 const unsigned long long* arg_values, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 scoped_refptr<PushDispatcher> push_dispatcher_; | 233 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 234 scoped_ptr<PermissionDispatcher> permission_client_; | 234 scoped_ptr<PermissionDispatcher> permission_client_; |
| 235 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 235 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
| 236 | 236 |
| 237 scheduler::WebThreadBase* compositor_thread_; | 237 scheduler::WebThreadBase* compositor_thread_; |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace content | 240 } // namespace content |
| 241 | 241 |
| 242 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 242 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |