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

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

Issue 1225243002: WebWaitableEvent: implement new API with ResetPolicy and InitialState arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reflect blink side update Created 5 years, 5 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
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/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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual blink::WebString userAgent(); 87 virtual blink::WebString userAgent();
88 virtual blink::WebData parseDataURL( 88 virtual blink::WebData parseDataURL(
89 const blink::WebURL& url, blink::WebString& mimetype, 89 const blink::WebURL& url, blink::WebString& mimetype,
90 blink::WebString& charset); 90 blink::WebString& charset);
91 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 91 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
92 virtual bool isReservedIPAddress(const blink::WebString& host) const; 92 virtual bool isReservedIPAddress(const blink::WebString& host) const;
93 virtual bool portAllowed(const blink::WebURL& url) const; 93 virtual bool portAllowed(const blink::WebURL& url) const;
94 virtual blink::WebThread* createThread(const char* name); 94 virtual blink::WebThread* createThread(const char* name);
95 virtual blink::WebThread* currentThread(); 95 virtual blink::WebThread* currentThread();
96 virtual void yieldCurrentThread(); 96 virtual void yieldCurrentThread();
97 // TODO(toyoshim): Remove no arguments version after the transition.
97 virtual blink::WebWaitableEvent* createWaitableEvent(); 98 virtual blink::WebWaitableEvent* createWaitableEvent();
99 virtual blink::WebWaitableEvent* createWaitableEvent(
100 blink::WebWaitableEvent::Reset reset,
kinuko 2015/07/09 08:05:53 nit: as I commented I prefer ResetPolicy ('reset'
Takashi Toyoshima 2015/07/09 08:18:32 Done.
101 blink::WebWaitableEvent::InitialState state);
98 virtual blink::WebWaitableEvent* waitMultipleEvents( 102 virtual blink::WebWaitableEvent* waitMultipleEvents(
99 const blink::WebVector<blink::WebWaitableEvent*>& events); 103 const blink::WebVector<blink::WebWaitableEvent*>& events);
100 virtual void decrementStatsCounter(const char* name); 104 virtual void decrementStatsCounter(const char* name);
101 virtual void incrementStatsCounter(const char* name); 105 virtual void incrementStatsCounter(const char* name);
102 virtual void histogramCustomCounts( 106 virtual void histogramCustomCounts(
103 const char* name, int sample, int min, int max, int bucket_count); 107 const char* name, int sample, int min, int max, int bucket_count);
104 virtual void histogramEnumeration( 108 virtual void histogramEnumeration(
105 const char* name, int sample, int boundary_value); 109 const char* name, int sample, int boundary_value);
106 virtual void histogramSparse(const char* name, int sample); 110 virtual void histogramSparse(const char* name, int sample);
107 virtual const unsigned char* getTraceCategoryEnabledFlag( 111 virtual const unsigned char* getTraceCategoryEnabledFlag(
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 202 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
199 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 203 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
200 scoped_refptr<PushDispatcher> push_dispatcher_; 204 scoped_refptr<PushDispatcher> push_dispatcher_;
201 scoped_ptr<PermissionDispatcher> permission_client_; 205 scoped_ptr<PermissionDispatcher> permission_client_;
202 scoped_ptr<BackgroundSyncProvider> sync_provider_; 206 scoped_ptr<BackgroundSyncProvider> sync_provider_;
203 }; 207 };
204 208
205 } // namespace content 209 } // namespace content
206 210
207 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 211 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | content/child/blink_platform_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698