Chromium Code Reviews| 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..561bcead21e2a0d1bce9251daf1126240f5a92cc 100644 |
| --- a/public/web/WebArrayBufferConverter.h |
| +++ b/public/platform/WebConnectionType.h |
| @@ -28,24 +28,24 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebArrayBufferConverter_h |
| -#define WebArrayBufferConverter_h |
| +#ifndef WebConnectionType_h |
| +#define WebConnectionType_h |
| -#include "public/platform/WebArrayBuffer.h" |
| - |
| -namespace v8 { |
| -class Value; |
| -template <class T> class Handle; |
| -} |
| +#include "WebCommon.h" |
|
jochen (gone - plz use gerrit)
2014/05/22 12:13:47
not required?
jkarlin
2014/05/22 12:20:35
Done.
|
| 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 |