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

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

Issue 1192713004: Update client side navigator.connect API to use ServicePortCollection [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 blink::WebGestureDevice device_source, 161 blink::WebGestureDevice device_source,
162 const blink::WebFloatPoint& velocity, 162 const blink::WebFloatPoint& velocity,
163 const blink::WebSize& cumulative_scroll); 163 const blink::WebSize& cumulative_scroll);
164 virtual void didStartWorkerRunLoop(); 164 virtual void didStartWorkerRunLoop();
165 virtual void didStopWorkerRunLoop(); 165 virtual void didStopWorkerRunLoop();
166 virtual blink::WebCrypto* crypto(); 166 virtual blink::WebCrypto* crypto();
167 virtual blink::WebGeofencingProvider* geofencingProvider(); 167 virtual blink::WebGeofencingProvider* geofencingProvider();
168 virtual blink::WebBluetooth* bluetooth(); 168 virtual blink::WebBluetooth* bluetooth();
169 virtual blink::WebNotificationManager* notificationManager(); 169 virtual blink::WebNotificationManager* notificationManager();
170 virtual blink::WebPushProvider* pushProvider(); 170 virtual blink::WebPushProvider* pushProvider();
171 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); 171 virtual blink::WebServicePortProvider* createServicePortProvider(
172 blink::WebServicePortProviderClient*);
172 virtual blink::WebPermissionClient* permissionClient(); 173 virtual blink::WebPermissionClient* permissionClient();
173 virtual blink::WebSyncProvider* backgroundSyncProvider(); 174 virtual blink::WebSyncProvider* backgroundSyncProvider();
174 175
175 virtual blink::WebString domCodeStringFromEnum(int dom_code); 176 virtual blink::WebString domCodeStringFromEnum(int dom_code);
176 virtual int domEnumFromCodeString(const blink::WebString& codeString); 177 virtual int domEnumFromCodeString(const blink::WebString& codeString);
177 178
178 private: 179 private:
179 void InternalInit(); 180 void InternalInit();
180 void UpdateWebThreadTLS(blink::WebThread* thread); 181 void UpdateWebThreadTLS(blink::WebThread* thread);
181 182
(...skipping 15 matching lines...) Expand all
197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 198 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 199 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
199 scoped_refptr<PushDispatcher> push_dispatcher_; 200 scoped_refptr<PushDispatcher> push_dispatcher_;
200 scoped_ptr<PermissionDispatcher> permission_client_; 201 scoped_ptr<PermissionDispatcher> permission_client_;
201 scoped_ptr<BackgroundSyncProvider> sync_provider_; 202 scoped_ptr<BackgroundSyncProvider> sync_provider_;
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
« 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