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

Issue 7867019: Access Session::config() and Session::jid() on the correct thread only. (Closed)

Created:
9 years, 3 months ago by Sergey Ulanov
Modified:
9 years, 3 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, Paweł Hajdan Jr., dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Access Session::config() and Session::jid() on the correct thread only. BUG=88600 TEST=Unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100866

Patch Set 1 : - #

Total comments: 3

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 8

Patch Set 4 : - #

Patch Set 5 : - #

Patch Set 6 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -68 lines) Patch
M remoting/host/chromoting_host.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 7 chunks +37 lines, -31 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M remoting/host/client_session.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M remoting/host/heartbeat_sender.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/heartbeat_sender.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/host_status_observer.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M remoting/host/register_support_host_request.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/register_support_host_request.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Sergey Ulanov
9 years, 3 months ago (2011-09-10 00:36:57 UTC) #1
Wez
LGTM. http://codereview.chromium.org/7867019/diff/2001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/7867019/diff/2001/remoting/host/chromoting_host.cc#newcode455 remoting/host/chromoting_host.cc:455: connection->session()->jid())); It seems kinda broken that we have ...
9 years, 3 months ago (2011-09-10 01:10:02 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/7867019/diff/2001/remoting/host/chromoting_host.h File remoting/host/chromoting_host.h (right): http://codereview.chromium.org/7867019/diff/2001/remoting/host/chromoting_host.h#newcode131 remoting/host/chromoting_host.h:131: const std::string& jid); On 2011/09/10 01:10:03, Wez wrote: > ...
9 years, 3 months ago (2011-09-10 07:02:04 UTC) #3
Sergey Ulanov
Wez, please take a look at this CL again. I've fixed the crash that Lambros ...
9 years, 3 months ago (2011-09-12 22:13:38 UTC) #4
Wez
http://codereview.chromium.org/7867019/diff/5001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/7867019/diff/5001/remoting/host/chromoting_host.cc#newcode303 remoting/host/chromoting_host.cc:303: connection->Init(session); Why did this move? http://codereview.chromium.org/7867019/diff/5001/remoting/host/chromoting_host.cc#newcode390 remoting/host/chromoting_host.cc:390: // Disable ...
9 years, 3 months ago (2011-09-12 22:40:44 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/7867019/diff/5001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/7867019/diff/5001/remoting/host/chromoting_host.cc#newcode303 remoting/host/chromoting_host.cc:303: connection->Init(session); On 2011/09/12 22:40:44, Wez wrote: > Why did ...
9 years, 3 months ago (2011-09-12 22:53:21 UTC) #6
Wez
LGTM
9 years, 3 months ago (2011-09-12 23:20:11 UTC) #7
commit-bot: I haz the power
9 years, 3 months ago (2011-09-13 05:21:12 UTC) #8
Change committed as 100866

Powered by Google App Engine
This is Rietveld 408576698