Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: content/common/presentation/presentation_service.mojom

Issue 1572433002: [Media Router] Add Connecting state to PresentationConnection to bring align with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module presentation; 5 module presentation;
6 6
7 struct PresentationSessionInfo { 7 struct PresentationSessionInfo {
8 string url; 8 string url;
9 string id; 9 string id;
10 }; 10 };
11 11
12 enum PresentationConnectionState { 12 enum PresentationConnectionState {
13 CONNECTING,
13 CONNECTED, 14 CONNECTED,
14 CLOSED, 15 CLOSED,
15 TERMINATED 16 TERMINATED
16 }; 17 };
17 18
18 enum PresentationErrorType { 19 enum PresentationErrorType {
19 NO_AVAILABLE_SCREENS, 20 NO_AVAILABLE_SCREENS,
20 SESSION_REQUEST_CANCELLED, 21 SESSION_REQUEST_CANCELLED,
21 NO_PRESENTATION_FOUND, 22 NO_PRESENTATION_FOUND,
22 UNKNOWN, 23 UNKNOWN,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 OnConnectionStateChanged(PresentationSessionInfo connection, 119 OnConnectionStateChanged(PresentationSessionInfo connection,
119 PresentationConnectionState newState); 120 PresentationConnectionState newState);
120 121
121 // See PresentationService::ListenForSessionMessages. 122 // See PresentationService::ListenForSessionMessages.
122 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo, 123 OnSessionMessagesReceived(PresentationSessionInfo sessionInfo,
123 array<SessionMessage> messages); 124 array<SessionMessage> messages);
124 125
125 // See PresentationService::SetDefaultPresentationURL. 126 // See PresentationService::SetDefaultPresentationURL.
126 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); 127 OnDefaultSessionStarted(PresentationSessionInfo sessionInfo);
127 }; 128 };
OLDNEW
« no previous file with comments | « content/browser/presentation/presentation_type_converters.cc ('k') | content/public/browser/presentation_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698