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

Side by Side Diff: public/platform/Platform.h

Issue 1191393003: Update client side navigator.connect API to use ServicePortCollection [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport
Patch Set: address more comments Created 5 years, 6 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 class WebNotificationManager; 90 class WebNotificationManager;
91 class WebPermissionClient; 91 class WebPermissionClient;
92 class WebPluginListBuilder; 92 class WebPluginListBuilder;
93 class WebPrescientNetworking; 93 class WebPrescientNetworking;
94 class WebProcessMemoryDump; 94 class WebProcessMemoryDump;
95 class WebPublicSuffixList; 95 class WebPublicSuffixList;
96 class WebPushProvider; 96 class WebPushProvider;
97 class WebRTCPeerConnectionHandler; 97 class WebRTCPeerConnectionHandler;
98 class WebRTCPeerConnectionHandlerClient; 98 class WebRTCPeerConnectionHandlerClient;
99 class WebSandboxSupport; 99 class WebSandboxSupport;
100 class WebScrollbarBehavior;
100 class WebSecurityOrigin; 101 class WebSecurityOrigin;
101 class WebScrollbarBehavior; 102 class WebServicePortProvider;
103 class WebServicePortProviderClient;
102 class WebServiceWorkerCacheStorage; 104 class WebServiceWorkerCacheStorage;
103 class WebSocketHandle; 105 class WebSocketHandle;
104 class WebSpeechSynthesizer; 106 class WebSpeechSynthesizer;
105 class WebSpeechSynthesizerClient; 107 class WebSpeechSynthesizerClient;
106 class WebStorageNamespace; 108 class WebStorageNamespace;
107 class WebSyncProvider; 109 class WebSyncProvider;
108 struct WebFloatPoint; 110 struct WebFloatPoint;
109 class WebThemeEngine; 111 class WebThemeEngine;
110 class WebThread; 112 class WebThread;
111 class WebURL; 113 class WebURL;
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 707
706 // Push API------------------------------------------------------------ 708 // Push API------------------------------------------------------------
707 709
708 virtual WebPushProvider* pushProvider() { return nullptr; } 710 virtual WebPushProvider* pushProvider() { return nullptr; }
709 711
710 712
711 // navigator.connect -------------------------------------------------- 713 // navigator.connect --------------------------------------------------
712 714
713 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return nul lptr; } 715 virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return nul lptr; }
714 716
717 // Returns pointer to a new blink owned WebServicePortProvider instance,
718 // associated with a particular ServicePortCollection (identified by the
719 // WebServicePortProviderClient passed in).
720 virtual WebServicePortProvider* createServicePortProvider(WebServicePortProv iderClient*) { return nullptr; }
721
715 // Permissions -------------------------------------------------------- 722 // Permissions --------------------------------------------------------
716 723
717 virtual WebPermissionClient* permissionClient() { return nullptr; } 724 virtual WebPermissionClient* permissionClient() { return nullptr; }
718 725
719 726
720 // Background Sync API------------------------------------------------------ ------ 727 // Background Sync API------------------------------------------------------ ------
721 728
722 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; } 729 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; }
723 730
724 protected: 731 protected:
725 BLINK_PLATFORM_EXPORT Platform(); 732 BLINK_PLATFORM_EXPORT Platform();
726 virtual ~Platform() { } 733 virtual ~Platform() { }
727 734
728 WebThread* m_mainThread; 735 WebThread* m_mainThread;
729 }; 736 };
730 737
731 } // namespace blink 738 } // namespace blink
732 739
733 #endif 740 #endif
OLDNEW
« no previous file with comments | « Source/modules/navigatorconnect/WorkerNavigatorServices.h ('k') | public/platform/modules/navigator_services/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698