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

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, 9 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 size_t bytes); 77 size_t bytes);
78 virtual size_t maxDecodedImageBytes(); 78 virtual size_t maxDecodedImageBytes();
79 virtual blink::WebURLLoader* createURLLoader(); 79 virtual blink::WebURLLoader* createURLLoader();
80 virtual blink::WebSocketHandle* createWebSocketHandle(); 80 virtual blink::WebSocketHandle* createWebSocketHandle();
81 virtual blink::WebString userAgent(); 81 virtual blink::WebString userAgent();
82 virtual blink::WebData parseDataURL( 82 virtual blink::WebData parseDataURL(
83 const blink::WebURL& url, blink::WebString& mimetype, 83 const blink::WebURL& url, blink::WebString& mimetype,
84 blink::WebString& charset); 84 blink::WebString& charset);
85 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 85 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
86 virtual bool isReservedIPAddress(const blink::WebString& host) const; 86 virtual bool isReservedIPAddress(const blink::WebString& host) const;
87 virtual bool portAllowed(const unsigned short port, bool isFtp) const;
87 virtual blink::WebThread* createThread(const char* name); 88 virtual blink::WebThread* createThread(const char* name);
88 virtual blink::WebThread* currentThread(); 89 virtual blink::WebThread* currentThread();
89 virtual void yieldCurrentThread(); 90 virtual void yieldCurrentThread();
90 virtual blink::WebWaitableEvent* createWaitableEvent(); 91 virtual blink::WebWaitableEvent* createWaitableEvent();
91 virtual blink::WebWaitableEvent* waitMultipleEvents( 92 virtual blink::WebWaitableEvent* waitMultipleEvents(
92 const blink::WebVector<blink::WebWaitableEvent*>& events); 93 const blink::WebVector<blink::WebWaitableEvent*>& events);
93 virtual void decrementStatsCounter(const char* name); 94 virtual void decrementStatsCounter(const char* name);
94 virtual void incrementStatsCounter(const char* name); 95 virtual void incrementStatsCounter(const char* name);
95 virtual void histogramCustomCounts( 96 virtual void histogramCustomCounts(
96 const char* name, int sample, int min, int max, int bucket_count); 97 const char* name, int sample, int min, int max, int bucket_count);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 198
198 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 199 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
199 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 200 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
200 scoped_refptr<PushDispatcher> push_dispatcher_; 201 scoped_refptr<PushDispatcher> push_dispatcher_;
201 scoped_ptr<PermissionManager> permission_client_; 202 scoped_ptr<PermissionManager> permission_client_;
202 }; 203 };
203 204
204 } // namespace content 205 } // namespace content
205 206
206 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 207 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698