NetworkInfoController needs to support destructor
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2012 05:51:43 +0000 (05:51 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2012 05:51:43 +0000 (05:51 +0000)
commita53270c4e193d911437e74507ae4a666c87ac3e7
tree23d8b656aa9d46eb2ec842fc8449768cd7c6ef1b
parentbc3391ced0fb2539a0f92fd94a5fcc85835bf61c
NetworkInfoController needs to support destructor
https://bugs.webkit.org/show_bug.cgi?id=104642

Reviewed by Kentaro Hara.

Though NetworkInfoController can be referenced by each port in order to update network status change,
there is no virtual interface to destroy it. Beside each port client also needs to be destroyed when
controller is destroyed.

Source/WebCore:

* Modules/networkinfo/NetworkInfoClient.h:
(NetworkInfoClient):
* Modules/networkinfo/NetworkInfoConnection.h:
(WebCore::NetworkInfoConnection::networkInfoControllerDestroyed):
* Modules/networkinfo/NetworkInfoController.cpp:
(WebCore::NetworkInfoController::~NetworkInfoController):

Source/WebKit/blackberry:

* WebCoreSupport/NetworkInfoClientBlackBerry.cpp:
(WebCore::NetworkInfoClientBlackBerry::networkInfoControllerDestroyed):
(WebCore):
* WebCoreSupport/NetworkInfoClientBlackBerry.h:
(NetworkInfoClientBlackBerry):

Source/WebKit/efl:

* WebCoreSupport/NetworkInfoClientEfl.cpp:
(WebCore::NetworkInfoClientEfl::networkInfoControllerDestroyed):
(WebCore):
* WebCoreSupport/NetworkInfoClientEfl.h:
(NetworkInfoClientEfl):

Source/WebKit2:

* UIProcess/efl/NetworkInfoProvider.cpp:
(NetworkInfoProvider::networkInfoControllerDestroyed):
* UIProcess/efl/NetworkInfoProvider.h:
(NetworkInfoProvider):
* WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp:
(WebKit::WebNetworkInfoClient::networkInfoControllerDestroyed):
(WebKit):
* WebProcess/WebCoreSupport/WebNetworkInfoClient.h:
(WebNetworkInfoClient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/networkinfo/NetworkInfoClient.h
Source/WebCore/Modules/networkinfo/NetworkInfoConnection.h
Source/WebCore/Modules/networkinfo/NetworkInfoController.cpp
Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebCoreSupport/NetworkInfoClientBlackBerry.cpp
Source/WebKit/blackberry/WebCoreSupport/NetworkInfoClientBlackBerry.h
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/WebCoreSupport/NetworkInfoClientEfl.cpp
Source/WebKit/efl/WebCoreSupport/NetworkInfoClientEfl.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/efl/NetworkInfoProvider.cpp
Source/WebKit2/UIProcess/efl/NetworkInfoProvider.h
Source/WebKit2/WebProcess/WebCoreSupport/WebNetworkInfoClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebNetworkInfoClient.h