|
Changes lifetime of ApplicationConnection instances.
Before this change, ApplicationConnections were owned by the ApplicationImpl, one created for every call to ConnectToApplication/AcceptConnection. While this makes sense for incoming connections (it doesn't make sense to transfer ownership of the connection to the delegate), it doesn't for outgoing connections.
So we change ConnectToApplication to return a scoped_ptr<ApplicationConnection> which the caller must manage.
R=sky@chromium.org
http://crbug.com/519583
Committed: https://crrev.com/efecf8ac86019d7f191159279f46c1a90d071be9
Cr-Commit-Position: refs/heads/master@{#342947}
Total comments: 6
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -214 lines) |
Patch |
|
M |
components/html_viewer/ax_provider_apptest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/html_viewer/blink_platform_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/html_viewer/html_document_application_delegate.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
components/view_manager/public/cpp/lib/view_manager_init.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
components/view_manager/public/cpp/view_manager_init.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/view_manager/view_manager_client_apptest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/view_manager/view_manager_service_apptest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mandoline/tab/frame_connection.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
mandoline/ui/browser/browser.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mandoline/ui/browser/browser_apptest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
|
M |
mandoline/ui/browser/desktop/desktop_ui.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
mandoline/ui/browser/desktop/desktop_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/mojo/services/media_apptest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/application_connection.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/application_delegate.h
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/application_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+9 lines, -17 lines |
0 comments
|
Download
|
|
D |
mojo/application/public/cpp/lib/application_connection.cc
|
View
|
1
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/lib/application_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+12 lines, -51 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/lib/service_registry.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/lib/service_registry.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/tests/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/application/public/cpp/tests/service_registry_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
|
M |
mojo/common/tracing_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/common/tracing_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_base.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/network/http_server_apptest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/network/udp_socket_apptest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/application_manager_unittest.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/capability_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|