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
3 // found in the LICENSE file.
23 enum ConnectionOptions {
38 StartSession(Version? version) => (Result result, string? name);
39 StopSession() => (Result result);
40 TrackConnection(uint32 id, ConnectionOptions options) => (Result result);
44 OnFatalError(Result result);
45 OnSessionEnd(Result result);
46 OnClientConnection(string? name, uint32 id, ConnectionOptions options);
47 OnMessage(Message? message);