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

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

Issue 852573002: Tag SecurityContext objects as being hosted in reserved IP ranges. [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( 75 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(
76 size_t bytes); 76 size_t bytes);
77 virtual size_t maxDecodedImageBytes(); 77 virtual size_t maxDecodedImageBytes();
78 virtual blink::WebURLLoader* createURLLoader(); 78 virtual blink::WebURLLoader* createURLLoader();
79 virtual blink::WebSocketHandle* createWebSocketHandle(); 79 virtual blink::WebSocketHandle* createWebSocketHandle();
80 virtual blink::WebString userAgent(); 80 virtual blink::WebString userAgent();
81 virtual blink::WebData parseDataURL( 81 virtual blink::WebData parseDataURL(
82 const blink::WebURL& url, blink::WebString& mimetype, 82 const blink::WebURL& url, blink::WebString& mimetype,
83 blink::WebString& charset); 83 blink::WebString& charset);
84 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 84 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
85 virtual bool isReservedIPAddress( 85 virtual bool isReservedIPAddress(const blink::WebString& host) const;
86 const blink::WebSecurityOrigin&) const;
87 virtual bool isReservedIPAddress(const blink::WebURL&) const;
88 virtual blink::WebThread* createThread(const char* name); 86 virtual blink::WebThread* createThread(const char* name);
89 virtual blink::WebThread* currentThread(); 87 virtual blink::WebThread* currentThread();
90 virtual void yieldCurrentThread(); 88 virtual void yieldCurrentThread();
91 virtual blink::WebWaitableEvent* createWaitableEvent(); 89 virtual blink::WebWaitableEvent* createWaitableEvent();
92 virtual blink::WebWaitableEvent* waitMultipleEvents( 90 virtual blink::WebWaitableEvent* waitMultipleEvents(
93 const blink::WebVector<blink::WebWaitableEvent*>& events); 91 const blink::WebVector<blink::WebWaitableEvent*>& events);
94 virtual void decrementStatsCounter(const char* name); 92 virtual void decrementStatsCounter(const char* name);
95 virtual void incrementStatsCounter(const char* name); 93 virtual void incrementStatsCounter(const char* name);
96 virtual void histogramCustomCounts( 94 virtual void histogramCustomCounts(
97 const char* name, int sample, int min, int max, int bucket_count); 95 const char* name, int sample, int min, int max, int bucket_count);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 scoped_ptr<WebBluetoothImpl> bluetooth_; 190 scoped_ptr<WebBluetoothImpl> bluetooth_;
193 191
194 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 192 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
195 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 193 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
196 scoped_refptr<PushDispatcher> push_dispatcher_; 194 scoped_refptr<PushDispatcher> push_dispatcher_;
197 }; 195 };
198 196
199 } // namespace content 197 } // namespace content
200 198
201 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 199 #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