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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool isReservedIPAddress(const blink::WebString& host) const override; | 102 bool isReservedIPAddress(const blink::WebString& host) const override; |
103 bool portAllowed(const blink::WebURL& url) const override; | 103 bool portAllowed(const blink::WebURL& url) const override; |
104 blink::WebThread* createThread(const char* name) override; | 104 blink::WebThread* createThread(const char* name) override; |
105 blink::WebThread* currentThread() override; | 105 blink::WebThread* currentThread() override; |
106 void yieldCurrentThread() override; | 106 void yieldCurrentThread() override; |
107 blink::WebWaitableEvent* createWaitableEvent( | 107 blink::WebWaitableEvent* createWaitableEvent( |
108 blink::WebWaitableEvent::ResetPolicy policy, | 108 blink::WebWaitableEvent::ResetPolicy policy, |
109 blink::WebWaitableEvent::InitialState state) override; | 109 blink::WebWaitableEvent::InitialState state) override; |
110 blink::WebWaitableEvent* waitMultipleEvents( | 110 blink::WebWaitableEvent* waitMultipleEvents( |
111 const blink::WebVector<blink::WebWaitableEvent*>& events) override; | 111 const blink::WebVector<blink::WebWaitableEvent*>& events) override; |
112 void histogramCustomCounts(const char* name, | |
113 int sample, | |
114 int min, | |
115 int max, | |
116 int bucket_count) override; | |
117 void histogramEnumeration(const char* name, | 112 void histogramEnumeration(const char* name, |
118 int sample, | 113 int sample, |
119 int boundary_value) override; | 114 int boundary_value) override; |
120 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp, | 115 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp, |
121 const char* name) override; | 116 const char* name) override; |
122 void unregisterMemoryDumpProvider( | 117 void unregisterMemoryDumpProvider( |
123 blink::WebMemoryDumpProvider* wmdp) override; | 118 blink::WebMemoryDumpProvider* wmdp) override; |
124 blink::WebProcessMemoryDump* createProcessMemoryDump() override; | 119 blink::WebProcessMemoryDump* createProcessMemoryDump() override; |
125 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( | 120 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( |
126 const blink::WebString& guidStr) override; | 121 const blink::WebString& guidStr) override; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 193 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
199 | 194 |
200 TrialTokenValidator trial_token_validator_; | 195 TrialTokenValidator trial_token_validator_; |
201 | 196 |
202 scheduler::WebThreadBase* compositor_thread_; | 197 scheduler::WebThreadBase* compositor_thread_; |
203 }; | 198 }; |
204 | 199 |
205 } // namespace content | 200 } // namespace content |
206 | 201 |
207 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 202 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |