| Index: public/platform/WebConnectionType.h
|
| diff --git a/public/web/WebArrayBufferConverter.h b/public/platform/WebConnectionType.h
|
| similarity index 79%
|
| copy from public/web/WebArrayBufferConverter.h
|
| copy to public/platform/WebConnectionType.h
|
| index 1c5bde03179cb27f90b37bd11e78698ce884d74b..db5b2aac298271f647a60b6ff6e8a30a2ef99ee3 100644
|
| --- a/public/web/WebArrayBufferConverter.h
|
| +++ b/public/platform/WebConnectionType.h
|
| @@ -28,24 +28,22 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebArrayBufferConverter_h
|
| -#define WebArrayBufferConverter_h
|
| -
|
| -#include "public/platform/WebArrayBuffer.h"
|
| -
|
| -namespace v8 {
|
| -class Value;
|
| -template <class T> class Handle;
|
| -}
|
| +#ifndef WebConnectionType_h
|
| +#define WebConnectionType_h
|
|
|
| namespace blink {
|
|
|
| -class WebArrayBufferConverter {
|
| -public:
|
| - BLINK_EXPORT static v8::Handle<v8::Value> toV8Value(WebArrayBuffer*);
|
| - BLINK_EXPORT static WebArrayBuffer* createFromV8Value(v8::Handle<v8::Value>);
|
| +// Connection types from http://w3c.github.io/netinfo/.
|
| +enum WebConnectionType {
|
| + ConnectionTypeCellular = 0,
|
| + ConnectionTypeBluetooth,
|
| + ConnectionTypeEthernet,
|
| + ConnectionTypeWifi,
|
| + ConnectionTypeOther,
|
| + ConnectionTypeNone,
|
| + ConnectionTypeLast = ConnectionTypeNone
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebArrayBufferConverter_h
|
| +#endif // WebConnectionType_h
|
|
|