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

Issue 9433027: Delete Session and SessionManager object synchronously. (Closed)

Created:
8 years, 10 months ago by Sergey Ulanov
Modified:
8 years, 10 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Delete Session and SessionManager object synchronously. JingleSession and JingleSessionManager were previously deleted asychronously, but it is not necessary anymore arter we've switched to PepperSession and PepperSessionManager. Instead changed LibjingleTransportFactory to delete libjingle objects asynchronously. Also fixed some bugs related that would cause crash when channel auth fails. BUG=115374 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123436

Patch Set 1 #

Patch Set 2 : - #

Total comments: 1

Patch Set 3 : add tests #

Total comments: 30

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -69 lines) Patch
M jingle/glue/pseudotcp_adapter.cc View 1 2 3 4 5 chunks +24 lines, -11 lines 0 comments Download
M remoting/host/chromoting_host.h View 1 chunk +0 lines, -9 lines 0 comments Download
M remoting/host/chromoting_host.cc View 2 chunks +3 lines, -12 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 2 chunks +1 line, -10 lines 0 comments Download
M remoting/protocol/fake_authenticator.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M remoting/protocol/fake_authenticator.cc View 1 2 3 4 3 chunks +41 lines, -18 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.cc View 1 2 3 4 5 chunks +33 lines, -2 lines 0 comments Download
M remoting/protocol/pepper_session_unittest.cc View 1 2 3 4 5 chunks +21 lines, -4 lines 0 comments Download
M remoting/protocol/pepper_transport_factory.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
8 years, 10 months ago (2012-02-22 03:16:08 UTC) #1
Sergey Ulanov
Also extended the tests to verify that we shutdown properly when channel creation (e.g. authentication) ...
8 years, 10 months ago (2012-02-22 22:04:14 UTC) #2
Wez
http://codereview.chromium.org/9433027/diff/3001/jingle/glue/pseudotcp_adapter.h File jingle/glue/pseudotcp_adapter.h (right): http://codereview.chromium.org/9433027/diff/3001/jingle/glue/pseudotcp_adapter.h#newcode32 jingle/glue/pseudotcp_adapter.h:32: // Sets callback that should be called when the ...
8 years, 10 months ago (2012-02-22 22:51:38 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h File jingle/glue/pseudotcp_adapter.h (right): http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h#newcode35 jingle/glue/pseudotcp_adapter.h:35: void SetOnDestroyedCallback(const base::Closure& callback); On 2012/02/22 22:51:38, Wez wrote: ...
8 years, 10 months ago (2012-02-22 23:36:32 UTC) #4
Wez
http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h File jingle/glue/pseudotcp_adapter.h (right): http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h#newcode35 jingle/glue/pseudotcp_adapter.h:35: void SetOnDestroyedCallback(const base::Closure& callback); On 2012/02/22 23:36:32, sergeyu wrote: ...
8 years, 10 months ago (2012-02-23 19:33:42 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h File jingle/glue/pseudotcp_adapter.h (right): http://codereview.chromium.org/9433027/diff/4007/jingle/glue/pseudotcp_adapter.h#newcode35 jingle/glue/pseudotcp_adapter.h:35: void SetOnDestroyedCallback(const base::Closure& callback); On 2012/02/23 19:33:42, Wez wrote: ...
8 years, 10 months ago (2012-02-23 22:10:06 UTC) #6
Wez
lgtm
8 years, 10 months ago (2012-02-24 00:37:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9433027/10003
8 years, 10 months ago (2012-02-24 00:39:55 UTC) #8
commit-bot: I haz the power
8 years, 10 months ago (2012-02-24 04:27:46 UTC) #9
Change committed as 123436

Powered by Google App Engine
This is Rietveld 408576698