| OLD | NEW |
| 1 // Copyright 2011, Google Inc. | 1 // Copyright 2011, Google Inc. |
| 2 // All rights reserved. | 2 // 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 are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "DartWebSocket.h" | 31 #include "DartWebSocket.h" |
| 32 | 32 |
| 33 #if ENABLE(WEB_SOCKETS) | 33 #if ENABLE(WEB_SOCKETS) |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 namespace DartWebSocketInternal { | 37 namespace DartWebSocketInternal { |
| 38 | 38 |
| 39 void constructorCallback(Dart_NativeArguments) |
| 40 { |
| 41 // FIXME: proper implementation. |
| 42 DART_UNIMPLEMENTED(); |
| 43 } |
| 44 |
| 39 void sendCallback(Dart_NativeArguments) | 45 void sendCallback(Dart_NativeArguments) |
| 40 { | 46 { |
| 41 // FIXME: proper implementation. | 47 // FIXME: proper implementation. |
| 42 DART_UNIMPLEMENTED(); | 48 DART_UNIMPLEMENTED(); |
| 43 } | 49 } |
| 44 | 50 |
| 45 void closeCallback(Dart_NativeArguments) | 51 void closeCallback(Dart_NativeArguments) |
| 46 { | 52 { |
| 47 // FIXME: proper implementation. | 53 // FIXME: proper implementation. |
| 48 DART_UNIMPLEMENTED(); | 54 DART_UNIMPLEMENTED(); |
| 49 } | 55 } |
| 50 | 56 |
| 51 } | 57 } |
| 52 | 58 |
| 53 } | 59 } |
| 54 | 60 |
| 55 #endif // ENABLE(WEB_SOCKETS) | 61 #endif // ENABLE(WEB_SOCKETS) |
| OLD | NEW |