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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1659053002: Remove custom counts histogram from the blink API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few thread_safe_static_local -> static_local as per feedback in reviews Created 4 years, 10 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
« no previous file with comments | « no previous file | content/child/blink_platform_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 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698