diff options
author | ben <ben@chromium.org> | 2015-08-11 17:39:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-12 00:40:26 +0000 |
commit | efecf8ac86019d7f191159279f46c1a90d071be9 (patch) | |
tree | 5b1a79eb26ca43ccc172466cb3a370e9dbbe4727 /content/browser/fileapi | |
parent | 17e96910eb69f6c05573b8a295dcb1792918e490 (diff) | |
download | chromium_src-efecf8ac86019d7f191159279f46c1a90d071be9.zip chromium_src-efecf8ac86019d7f191159279f46c1a90d071be9.tar.gz chromium_src-efecf8ac86019d7f191159279f46c1a90d071be9.tar.bz2 |
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
Review URL: https://codereview.chromium.org/1254383016
Cr-Commit-Position: refs/heads/master@{#342947}
Diffstat (limited to 'content/browser/fileapi')
0 files changed, 0 insertions, 0 deletions