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

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

Issue 1036823003: Fix to respect --explicitly-allowed-ports command line option-Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 size_t bytes); 79 size_t bytes);
80 virtual size_t maxDecodedImageBytes(); 80 virtual size_t maxDecodedImageBytes();
81 virtual blink::WebURLLoader* createURLLoader(); 81 virtual blink::WebURLLoader* createURLLoader();
82 virtual blink::WebSocketHandle* createWebSocketHandle(); 82 virtual blink::WebSocketHandle* createWebSocketHandle();
83 virtual blink::WebString userAgent(); 83 virtual blink::WebString userAgent();
84 virtual blink::WebData parseDataURL( 84 virtual blink::WebData parseDataURL(
85 const blink::WebURL& url, blink::WebString& mimetype, 85 const blink::WebURL& url, blink::WebString& mimetype,
86 blink::WebString& charset); 86 blink::WebString& charset);
87 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 87 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
88 virtual bool isReservedIPAddress(const blink::WebString& host) const; 88 virtual bool isReservedIPAddress(const blink::WebString& host) const;
89 virtual bool portAllowed(const blink::WebURL& url) const;
89 virtual blink::WebThread* createThread(const char* name); 90 virtual blink::WebThread* createThread(const char* name);
90 virtual blink::WebThread* currentThread(); 91 virtual blink::WebThread* currentThread();
91 virtual void yieldCurrentThread(); 92 virtual void yieldCurrentThread();
92 virtual blink::WebWaitableEvent* createWaitableEvent(); 93 virtual blink::WebWaitableEvent* createWaitableEvent();
93 virtual blink::WebWaitableEvent* waitMultipleEvents( 94 virtual blink::WebWaitableEvent* waitMultipleEvents(
94 const blink::WebVector<blink::WebWaitableEvent*>& events); 95 const blink::WebVector<blink::WebWaitableEvent*>& events);
95 virtual void decrementStatsCounter(const char* name); 96 virtual void decrementStatsCounter(const char* name);
96 virtual void incrementStatsCounter(const char* name); 97 virtual void incrementStatsCounter(const char* name);
97 virtual void histogramCustomCounts( 98 virtual void histogramCustomCounts(
98 const char* name, int sample, int min, int max, int bucket_count); 99 const char* name, int sample, int min, int max, int bucket_count);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 200
200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 201 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 202 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
202 scoped_refptr<PushDispatcher> push_dispatcher_; 203 scoped_refptr<PushDispatcher> push_dispatcher_;
203 scoped_ptr<PermissionDispatcher> permission_client_; 204 scoped_ptr<PermissionDispatcher> permission_client_;
204 }; 205 };
205 206
206 } // namespace content 207 } // namespace content
207 208
208 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698