| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [DartPackage="mojo_services"] | 5 [DartPackage="mojo_services"] |
| 6 module mojo; | 6 module mojo; |
| 7 | 7 |
| 8 import "mojo/public/interfaces/network/network_error.mojom"; | 8 import "mojo/public/interfaces/network/network_error.mojom"; |
| 9 | 9 |
| 10 interface WebSocket { | 10 interface WebSocket { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 DidFail(string message); | 51 DidFail(string message); |
| 52 | 52 |
| 53 DidClose(bool was_clean, uint16 code, string reason); | 53 DidClose(bool was_clean, uint16 code, string reason); |
| 54 | 54 |
| 55 // Blink has 3 extra methods that we don't implement, because they are used | 55 // Blink has 3 extra methods that we don't implement, because they are used |
| 56 // for the inspector: | 56 // for the inspector: |
| 57 // didStartOpeningHandshake | 57 // didStartOpeningHandshake |
| 58 // didFinishOpeningHandshake | 58 // didFinishOpeningHandshake |
| 59 // didStartClosingHandshake | 59 // didStartClosingHandshake |
| 60 }; | 60 }; |
| OLD | NEW |