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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void histogramSparse(const char* name, int sample); | 108 virtual void histogramSparse(const char* name, int sample); |
109 virtual const unsigned char* getTraceCategoryEnabledFlag( | 109 virtual const unsigned char* getTraceCategoryEnabledFlag( |
110 const char* category_name); | 110 const char* category_name); |
111 virtual TraceEventAPIAtomicWord* getTraceSamplingState( | 111 virtual TraceEventAPIAtomicWord* getTraceSamplingState( |
112 const unsigned thread_bucket); | 112 const unsigned thread_bucket); |
113 virtual TraceEventHandle addTraceEvent( | 113 virtual TraceEventHandle addTraceEvent( |
114 char phase, | 114 char phase, |
115 const unsigned char* category_group_enabled, | 115 const unsigned char* category_group_enabled, |
116 const char* name, | 116 const char* name, |
117 unsigned long long id, | 117 unsigned long long id, |
| 118 unsigned long long bind_id, |
118 double timestamp, | 119 double timestamp, |
119 int num_args, | 120 int num_args, |
120 const char** arg_names, | 121 const char** arg_names, |
121 const unsigned char* arg_types, | 122 const unsigned char* arg_types, |
122 const unsigned long long* arg_values, | 123 const unsigned long long* arg_values, |
123 unsigned char flags); | 124 blink::WebConvertableToTraceFormat* convertable_values, |
| 125 unsigned int flags); |
124 virtual TraceEventHandle addTraceEvent( | 126 virtual TraceEventHandle addTraceEvent( |
125 char phase, | 127 char phase, |
126 const unsigned char* category_group_enabled, | 128 const unsigned char* category_group_enabled, |
127 const char* name, | 129 const char* name, |
128 unsigned long long id, | 130 unsigned long long id, |
129 double timestamp, | 131 double timestamp, |
130 int num_args, | 132 int num_args, |
131 const char** arg_names, | 133 const char** arg_names, |
132 const unsigned char* arg_types, | 134 const unsigned char* arg_types, |
133 const unsigned long long* arg_values, | 135 const unsigned long long* arg_values, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
199 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
200 scoped_refptr<PushDispatcher> push_dispatcher_; | 202 scoped_refptr<PushDispatcher> push_dispatcher_; |
201 scoped_ptr<PermissionDispatcher> permission_client_; | 203 scoped_ptr<PermissionDispatcher> permission_client_; |
202 scoped_ptr<BackgroundSyncProvider> sync_provider_; | 204 scoped_ptr<BackgroundSyncProvider> sync_provider_; |
203 }; | 205 }; |
204 | 206 |
205 } // namespace content | 207 } // namespace content |
206 | 208 |
207 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |