X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnet%2Fbase%2Fnetwork_change_notifier.h;h=68d0afb4320195b5c5aabaeaa4c4deefd2740f85;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=2ac6f578109436d8e0f6c53ad9fd4fa0bf00d3ff;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/net/base/network_change_notifier.h b/src/net/base/network_change_notifier.h index 2ac6f57..68d0afb 100644 --- a/src/net/base/network_change_notifier.h +++ b/src/net/base/network_change_notifier.h @@ -224,8 +224,17 @@ class NET_EXPORT NetworkChangeNotifier { // Register the Observer callbacks for producing histogram data. This // should be called from the network thread to avoid race conditions. + // ShutdownHistogramWatcher() must be called prior to NetworkChangeNotifier + // destruction. static void InitHistogramWatcher(); + // Unregister the Observer callbacks for producing histogram data. This + // should be called from the network thread to avoid race conditions. + static void ShutdownHistogramWatcher(); + + // Log the |NCN.NetworkOperatorMCCMNC| histogram. + static void LogOperatorCodeHistogram(ConnectionType type); + // Allows a second NetworkChangeNotifier to be created for unit testing, so // the test suite can create a MockNetworkChangeNotifier, but platform // specific NetworkChangeNotifiers can also be created for testing. To use,