| Index: public/platform/WebNetworkConnection.h
|
| diff --git a/public/platform/WebCanvas.h b/public/platform/WebNetworkConnection.h
|
| similarity index 82%
|
| copy from public/platform/WebCanvas.h
|
| copy to public/platform/WebNetworkConnection.h
|
| index d0de44c6e4f57fcadb48288e7b1baf1216c93736..54d5e3f1662824e64837c4e24e2b23f71042c147 100644
|
| --- a/public/platform/WebCanvas.h
|
| +++ b/public/platform/WebNetworkConnection.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2009 Google Inc. All rights reserved.
|
| + * Copyright (C) 2014 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -28,16 +28,24 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebCanvas_h
|
| -#define WebCanvas_h
|
| +#ifndef WebNetworkConnection_h
|
| +#define WebNetworkConnection_h
|
|
|
| #include "WebCommon.h"
|
|
|
| -class SkCanvas;
|
| -
|
| namespace blink {
|
|
|
| -typedef SkCanvas WebCanvas;
|
| +struct WebNetworkConnection {
|
| + // Connection types from http://w3c.github.io/netinfo/.
|
| + enum ConnectionType {
|
| + Cellular = 0,
|
| + Bluetooth,
|
| + Ethernet,
|
| + Wifi,
|
| + Other,
|
| + None
|
| + };
|
| +};
|
|
|
| } // namespace blink
|
|
|
|
|