|
[Presentation API] Remove references to presentation sessions.
"Sessions" are from an early draft of the Presentation API and they are confusing to define APIs around as they are not defined by the current spec.
This mechanical change updates the PresentationService mojo API, and upstream and downstream APIs, to remove references to them.
Renamings in presentation.mojom:
PresentationSessionInfo => PresentationInfo
SESSION_REQUEST_CANCELLED => PRESENTATION_REQUEST_CANCELLED
OnDefaultSessionStarted => OnDefaultPresentationStarted
StartSession => StartPresentation
JoinSession => ReconnectPresentation
OnDefaultSessionStarted => OnDefaultPresentationStarted
In WebPresentationClient:
terminateConnection => terminatePresentation
closeSession => closeConnection
In WebPresentationController:
didStartDefaultSession => didStartDefaultPresentation
didChangeSessionState => didChangeConnectionState
didReceiveSessionTextMessage => didReceiveConnectionTextMessage
didReceiveSessionBinaryMessage => didReceiveConnectionBinaryMessage
In WebPresentationReceiver:
didChangeSessionState => didChangeConnectionState
In PresentationServiceDelegate:
PresentationSessionStartedCallback => PresentationConnectionCallback
PresentationSessionErrorCallback => PresentationConnectionErrorCallback
BUG= 647290
Review-Url: https://codereview.chromium.org/2737413003
Cr-Commit-Position: refs/heads/master@{#458243}
Committed: https://chromium.googlesource.com/chromium/src/+/11fc4df8400a28054b5f5081e67985e83c387643
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+961 lines, -1048 lines) |
Patch |
|
M |
chrome/browser/media/android/router/media_router_dialog_controller_android.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/browser_presentation_connection_proxy.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/create_presentation_connection_request.h
|
View
|
1
|
4 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/create_presentation_connection_request.cc
|
View
|
1
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/create_presentation_connection_request_unittest.cc
|
View
|
1
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/media_route.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/media_router_base_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/media_router_dialog_controller_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/mojo/media_router.mojom
|
View
|
1
2
3
4
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/mojo/media_router.typemap
|
View
|
1
2
3
4
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
|
View
|
1
2
3
4
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/offscreen_presentation_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/offscreen_presentation_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/offscreen_presentation_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/presentation_service_delegate_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/presentation_service_delegate_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
31 chunks |
+113 lines, -111 lines |
0 comments
|
Download
|
|
M |
chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
16 chunks |
+33 lines, -32 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/media_router/media_router_ui.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/presentation/presentation_service_impl.h
|
View
|
1
2
3
4
7
|
8 chunks |
+59 lines, -62 lines |
0 comments
|
Download
|
|
M |
content/browser/presentation/presentation_service_impl.cc
|
View
|
1
2
3
4
5
6
|
12 chunks |
+99 lines, -97 lines |
0 comments
|
Download
|
|
M |
content/browser/presentation/presentation_service_impl_unittest.cc
|
View
|
|
18 chunks |
+100 lines, -95 lines |
0 comments
|
Download
|
|
M |
content/common/presentation/presentation.typemap
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/common/presentation/presentation_struct_traits.h
|
View
|
5
6
|
4 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
content/common/presentation/presentation_struct_traits.cc
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/public/browser/presentation_service_delegate.h
|
View
|
|
8 chunks |
+30 lines, -30 lines |
0 comments
|
Download
|
|
M |
content/public/common/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A + |
content/public/common/presentation_info.h
|
View
|
5
6
|
4 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
A |
content/public/common/presentation_info.cc
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
D |
content/public/common/presentation_session.h
|
View
|
|
1 chunk |
+0 lines, -69 lines |
0 comments
|
Download
|
|
D |
content/public/common/presentation_session.cc
|
View
|
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
|
M |
content/renderer/presentation/presentation_connection_proxy.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/presentation/presentation_dispatcher.h
|
View
|
1
5
6
|
7 chunks |
+36 lines, -30 lines |
0 comments
|
Download
|
|
M |
content/renderer/presentation/presentation_dispatcher.cc
|
View
|
1
5
6
|
19 chunks |
+102 lines, -98 lines |
0 comments
|
Download
|
|
M |
content/renderer/presentation/presentation_dispatcher_unittest.cc
|
View
|
1
5
6
|
10 chunks |
+74 lines, -70 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/presentation/presentation-controller-terminate-connection.html
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/presentation/presentation-onreceiverconnection.html
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/presentation/presentation-start-error.html
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js
|
View
|
1
2
3
5
6
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/ExistingPresentationConnectionCallbacks.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/ExistingPresentationConnectionCallbacks.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationConnectionCallbacks.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationController.h
|
View
|
1
5
6
|
2 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationController.cpp
|
View
|
5
6
|
2 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationError.cpp
|
View
|
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationReceiver.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
|
View
|
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp
|
View
|
1
5
6
|
6 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
View
|
5
6
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
View
|
|
3 chunks |
+22 lines, -19 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionCallbacks.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h
|
View
|
|
2 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/WebPresentationError.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
third_party/WebKit/public/platform/modules/presentation/WebPresentationInfo.h
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/public/platform/modules/presentation/WebPresentationSessionInfo.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/modules/presentation/presentation.mojom
|
View
|
|
6 chunks |
+40 lines, -44 lines |
0 comments
|
Download
|
Total messages: 33 (21 generated)
|