Changeset 141710 in webkit
- Timestamp:
- Feb 2, 2013 5:11:02 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r141709 r141710 1 2013-02-02 Sam Weinig <sam@webkit.org> 2 3 Convert CustomProtocolManagerProxy, CustomProtocolManager and AuthenticationManager to be non-LegacyReceivers 4 https://bugs.webkit.org/show_bug.cgi?id=108757 5 6 Reviewed by Anders Carlsson. 7 8 * Shared/Authentication/AuthenticationManager.cpp: 9 * Shared/Authentication/AuthenticationManager.h: 10 (AuthenticationManager): 11 * Shared/Authentication/AuthenticationManager.messages.in: 12 * Shared/Network/CustomProtocols/CustomProtocolManager.h: 13 (CustomProtocolManager): 14 * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in: 15 * Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm: 16 * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h: 17 (CustomProtocolManagerProxy): 18 * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in: 19 * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm: 20 1 21 2013-02-02 Christophe Dumez <christophe.dumez@intel.com> 2 22 -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.cpp
r141658 r141710 62 62 { 63 63 m_process->addMessageReceiver(Messages::AuthenticationManager::messageReceiverName(), this); 64 }65 66 void AuthenticationManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder)67 {68 didReceiveAuthenticationManagerMessage(connection, decoder);69 64 } 70 65 -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.h
r141658 r141710 67 67 // CoreIPC::MessageReceiver 68 68 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 69 void didReceiveAuthenticationManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&);70 69 71 70 bool tryUsePlatformCertificateInfoForChallenge(const WebCore::AuthenticationChallenge&, const PlatformCertificateInfo&); -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.messages.in
r140752 r141710 21 21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 messages -> AuthenticationManager LegacyReceiver{23 messages -> AuthenticationManager { 24 24 void UseCredentialForChallenge(uint64_t challengeID, WebCore::Credential credential, WebKit::PlatformCertificateInfo certificate); 25 25 void ContinueWithoutCredentialForChallenge(uint64_t challengeID); -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h
r141658 r141710 85 85 // CoreIPC::MessageReceiver 86 86 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 87 void didReceiveCustomProtocolManagerMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&);88 87 89 88 void didFailWithError(uint64_t customProtocolID, const WebCore::ResourceError&); -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.messages.in
r140605 r141710 23 23 #if ENABLE(CUSTOM_PROTOCOLS) 24 24 25 messages -> CustomProtocolManager LegacyReceiver{25 messages -> CustomProtocolManager { 26 26 DidFailWithError(uint64_t customProtocolID, WebCore::ResourceError error) 27 27 DidLoadData(uint64_t customProtocolID, CoreIPC::DataReference data) -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/mac/CustomProtocolManagerMac.mm
r141663 r141710 175 175 } 176 176 177 void CustomProtocolManager::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder)178 {179 didReceiveCustomProtocolManagerMessage(connection, decoder);180 }181 182 177 void CustomProtocolManager::didFailWithError(uint64_t customProtocolID, const WebCore::ResourceError& error) 183 178 { -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h
r141472 r141710 29 29 #if ENABLE(CUSTOM_PROTOCOLS) 30 30 31 #include "MessageReceiver.h" 32 31 33 #if PLATFORM(MAC) 32 34 #include <wtf/HashMap.h> … … 34 36 OBJC_CLASS WKCustomProtocolLoader; 35 37 #endif 36 37 namespace CoreIPC {38 class Connection;39 class MessageDecoder;40 } // namespace CoreIPC41 38 42 39 namespace WebCore { … … 48 45 class ChildProcessProxy; 49 46 50 class CustomProtocolManagerProxy {47 class CustomProtocolManagerProxy : public CoreIPC::MessageReceiver { 51 48 public: 52 49 explicit CustomProtocolManagerProxy(ChildProcessProxy*); 53 50 54 void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&);55 51 void startLoading(uint64_t customProtocolID, const WebCore::ResourceRequest&); 56 52 void stopLoading(uint64_t customProtocolID); 57 53 54 // CoreIPC::MessageReceiver 55 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&) OVERRIDE; 56 58 57 private: 59 void didReceiveCustomProtocolManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&);60 61 58 ChildProcessProxy* m_childProcessProxy; 62 59 -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in
r140605 r141710 23 23 #if ENABLE(CUSTOM_PROTOCOLS) 24 24 25 messages -> CustomProtocolManagerProxy LegacyReceiver{25 messages -> CustomProtocolManagerProxy { 26 26 StartLoading(uint64_t customProtocolID, WebCore::ResourceRequest request) 27 27 StopLoading(uint64_t customProtocolID) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm
r141361 r141710 128 128 } 129 129 130 void CustomProtocolManagerProxy::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageDecoder& decoder)131 {132 didReceiveCustomProtocolManagerProxyMessage(connection, decoder);133 }134 135 130 void CustomProtocolManagerProxy::startLoading(uint64_t customProtocolID, const ResourceRequest& coreRequest) 136 131 {
Note: See TracChangeset
for help on using the changeset viewer.