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

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

Issue 596243002: Implement blink::Platform::yieldCurrentThread() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual blink::WebString userAgent(); 79 virtual blink::WebString userAgent();
80 virtual blink::WebData parseDataURL( 80 virtual blink::WebData parseDataURL(
81 const blink::WebURL& url, blink::WebString& mimetype, 81 const blink::WebURL& url, blink::WebString& mimetype,
82 blink::WebString& charset); 82 blink::WebString& charset);
83 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 83 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
84 virtual bool isReservedIPAddress( 84 virtual bool isReservedIPAddress(
85 const blink::WebSecurityOrigin&) const OVERRIDE; 85 const blink::WebSecurityOrigin&) const OVERRIDE;
86 virtual bool isReservedIPAddress(const blink::WebURL&) const OVERRIDE; 86 virtual bool isReservedIPAddress(const blink::WebURL&) const OVERRIDE;
87 virtual blink::WebThread* createThread(const char* name); 87 virtual blink::WebThread* createThread(const char* name);
88 virtual blink::WebThread* currentThread(); 88 virtual blink::WebThread* currentThread();
89 virtual void yieldCurrentThread();
89 virtual blink::WebWaitableEvent* createWaitableEvent(); 90 virtual blink::WebWaitableEvent* createWaitableEvent();
90 virtual blink::WebWaitableEvent* waitMultipleEvents( 91 virtual blink::WebWaitableEvent* waitMultipleEvents(
91 const blink::WebVector<blink::WebWaitableEvent*>& events); 92 const blink::WebVector<blink::WebWaitableEvent*>& events);
92 virtual void decrementStatsCounter(const char* name); 93 virtual void decrementStatsCounter(const char* name);
93 virtual void incrementStatsCounter(const char* name); 94 virtual void incrementStatsCounter(const char* name);
94 virtual void histogramCustomCounts( 95 virtual void histogramCustomCounts(
95 const char* name, int sample, int min, int max, int bucket_count); 96 const char* name, int sample, int min, int max, int bucket_count);
96 virtual void histogramEnumeration( 97 virtual void histogramEnumeration(
97 const char* name, int sample, int boundary_value); 98 const char* name, int sample, int boundary_value);
98 virtual void histogramSparse(const char* name, int sample); 99 virtual void histogramSparse(const char* name, int sample);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 bool shared_timer_fire_time_was_set_while_suspended_; 178 bool shared_timer_fire_time_was_set_while_suspended_;
178 int shared_timer_suspended_; // counter 179 int shared_timer_suspended_; // counter
179 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; 180 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
180 base::ThreadLocalStorage::Slot current_thread_slot_; 181 base::ThreadLocalStorage::Slot current_thread_slot_;
181 WebCryptoImpl web_crypto_; 182 WebCryptoImpl web_crypto_;
182 }; 183 };
183 184
184 } // namespace content 185 } // namespace content
185 186
186 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 187 #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