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

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

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code cleanup, added comments Created 5 years, 3 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 class WebMessagePortChannel; 88 class WebMessagePortChannel;
89 class WebMimeRegistry; 89 class WebMimeRegistry;
90 class WebNavigatorConnectProvider; 90 class WebNavigatorConnectProvider;
91 class WebNotificationManager; 91 class WebNotificationManager;
92 class WebPermissionClient; 92 class WebPermissionClient;
93 class WebPluginListBuilder; 93 class WebPluginListBuilder;
94 class WebPrescientNetworking; 94 class WebPrescientNetworking;
95 class WebProcessMemoryDump; 95 class WebProcessMemoryDump;
96 class WebPublicSuffixList; 96 class WebPublicSuffixList;
97 class WebPushProvider; 97 class WebPushProvider;
98 class WebRTCCertificateGenerator;
98 class WebRTCPeerConnectionHandler; 99 class WebRTCPeerConnectionHandler;
99 class WebRTCPeerConnectionHandlerClient; 100 class WebRTCPeerConnectionHandlerClient;
100 class WebSandboxSupport; 101 class WebSandboxSupport;
101 class WebScrollbarBehavior; 102 class WebScrollbarBehavior;
102 class WebSecurityOrigin; 103 class WebSecurityOrigin;
103 class WebServicePortProvider; 104 class WebServicePortProvider;
104 class WebServicePortProviderClient; 105 class WebServicePortProviderClient;
105 class WebServiceWorkerCacheStorage; 106 class WebServiceWorkerCacheStorage;
106 class WebSocketHandle; 107 class WebSocketHandle;
107 class WebSpeechSynthesizer; 108 class WebSpeechSynthesizer;
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 // with |velocity| and already scrolled |cumulativeScroll| pixels. 622 // with |velocity| and already scrolled |cumulativeScroll| pixels.
622 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; } 623 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return n ullptr; }
623 624
624 // WebRTC ---------------------------------------------------------- 625 // WebRTC ----------------------------------------------------------
625 626
626 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. 627 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
627 // May return null if WebRTC functionality is not avaliable or out of resour ces. 628 // May return null if WebRTC functionality is not avaliable or out of resour ces.
628 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; } 629 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return nullptr; }
629 630
630 // May return null if WebRTC functionality is not avaliable or out of resour ces. 631 // May return null if WebRTC functionality is not avaliable or out of resour ces.
632 virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
633
634 // May return null if WebRTC functionality is not avaliable or out of resour ces.
631 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; } 635 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return nullptr; }
632 636
633 637
634 // WebWorker ---------------------------------------------------------- 638 // WebWorker ----------------------------------------------------------
635 639
636 virtual void didStartWorkerRunLoop() { } 640 virtual void didStartWorkerRunLoop() { }
637 virtual void didStopWorkerRunLoop() { } 641 virtual void didStopWorkerRunLoop() { }
638 642
639 // WebCrypto ---------------------------------------------------------- 643 // WebCrypto ----------------------------------------------------------
640 644
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 protected: 740 protected:
737 BLINK_PLATFORM_EXPORT Platform(); 741 BLINK_PLATFORM_EXPORT Platform();
738 virtual ~Platform() { } 742 virtual ~Platform() { }
739 743
740 WebThread* m_mainThread; 744 WebThread* m_mainThread;
741 }; 745 };
742 746
743 } // namespace blink 747 } // namespace blink
744 748
745 #endif 749 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698