Chromium Code Reviews| Index: chromeos/network/network_state_handler.cc |
| diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc |
| index 35576714e612622e96c3fbe4a592496504b9c2b4..01862046bc8c41951ae1b5307a291cc90bc926b0 100644 |
| --- a/chromeos/network/network_state_handler.cc |
| +++ b/chromeos/network/network_state_handler.cc |
| @@ -102,6 +102,11 @@ void NetworkStateHandler::Initialize() { |
| } |
| // static |
| +bool NetworkStateHandler::IsInitialized() { |
| + return g_network_state_handler != NULL; |
|
gauravsh
2013/03/07 01:36:35
Why do we need this? Doesn't the existing code alw
|
| +} |
| + |
| +// static |
| void NetworkStateHandler::Shutdown() { |
| CHECK(g_network_state_handler); |
| delete g_network_state_handler; |