| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 namespace WebCore { | 29 namespace WebCore { |
| 30 | 30 |
| 31 // Chromium doesn't currently support network state notifications. This causes | 31 // Chromium doesn't currently support network state notifications. This causes |
| 32 // an extra DLL to get loaded into the renderer which can slow things down a | 32 // an extra DLL to get loaded into the renderer which can slow things down a |
| 33 // bit. We may want an alternate design. | 33 // bit. We may want an alternate design. |
| 34 | 34 |
| 35 void NetworkStateNotifier::updateState() | 35 void NetworkStateNotifier::updateState() |
| 36 { | 36 { |
| 37 } | 37 } |
| 38 | 38 |
| 39 // TODO(darin): Kill this once we stop defining PLATFORM(WIN) |
| 40 #if PLATFORM(WIN) |
| 39 void NetworkStateNotifier::addressChanged() | 41 void NetworkStateNotifier::addressChanged() |
| 40 { | 42 { |
| 41 } | 43 } |
| 42 | 44 |
| 43 void NetworkStateNotifier::callAddressChanged(void* context) | 45 void NetworkStateNotifier::callAddressChanged(void* context) |
| 44 { | 46 { |
| 45 } | 47 } |
| 46 | 48 |
| 47 void CALLBACK NetworkStateNotifier::addrChangeCallback(void* context, BOOLEAN ti
medOut) | 49 void CALLBACK NetworkStateNotifier::addrChangeCallback(void* context, BOOLEAN ti
medOut) |
| 48 { | 50 { |
| 49 } | 51 } |
| 50 | 52 |
| 51 void NetworkStateNotifier::registerForAddressChange() | 53 void NetworkStateNotifier::registerForAddressChange() |
| 52 { | 54 { |
| 53 } | 55 } |
| 56 #endif |
| 54 | 57 |
| 55 NetworkStateNotifier::NetworkStateNotifier() | 58 NetworkStateNotifier::NetworkStateNotifier() |
| 56 : m_isOnLine(true) | 59 : m_isOnLine(true) |
| 57 { | 60 { |
| 58 } | 61 } |
| 59 | 62 |
| 60 } | 63 } |
| OLD | NEW |