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

Issue 3298021: Removed use of XmppSocketAdapter by sync. (Closed)

Created:
10 years, 3 months ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), Alpha Left Google, ben+cc_chromium.org, Raghu Simha, idana, dmac, pam+watch_chromium.org, awong, garykac, tim (not reviewing)
Visibility:
Public.

Description

Removed use of XmppSocketAdapter by sync. Moved XmppSocketAdapter and friends to remoting directory. Removed some dead code in jingle/. BUG=54146 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59012

Patch Set 1 #

Patch Set 2 : Fixed checkdeps problem #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -533 lines) Patch
M chrome/browser/sync/profile_sync_service.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/sync/tools/sync_listen_notifications.cc View 8 chunks +7 lines, -36 lines 2 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M jingle/jingle.gyp View 3 chunks +0 lines, -11 lines 0 comments Download
M jingle/notifier/base/notifier_options.h View 1 chunk +3 lines, -10 lines 0 comments Download
D jingle/notifier/base/signal_thread_task.h View 1 chunk +0 lines, -96 lines 0 comments Download
D jingle/notifier/base/static_assert.h View 1 chunk +0 lines, -21 lines 0 comments Download
M jingle/notifier/communicator/login.h View 2 chunks +0 lines, -2 lines 0 comments Download
M jingle/notifier/communicator/login.cc View 4 chunks +1 line, -6 lines 0 comments Download
D jingle/notifier/communicator/product_info.h View 1 chunk +0 lines, -15 lines 0 comments Download
D jingle/notifier/communicator/product_info.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M jingle/notifier/communicator/single_login_attempt.h View 2 chunks +1 line, -10 lines 0 comments Download
M jingle/notifier/communicator/single_login_attempt.cc View 7 chunks +21 lines, -209 lines 0 comments Download
M jingle/notifier/communicator/xmpp_connection_generator.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M jingle/notifier/listener/mediator_thread_impl.h View 2 chunks +0 lines, -8 lines 0 comments Download
M jingle/notifier/listener/mediator_thread_impl.cc View 4 chunks +0 lines, -46 lines 0 comments Download
M remoting/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/jingle_glue/jingle_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + remoting/jingle_glue/ssl_adapter.h View 2 chunks +6 lines, -6 lines 0 comments Download
A + remoting/jingle_glue/ssl_adapter.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + remoting/jingle_glue/ssl_socket_adapter.h View 4 chunks +6 lines, -6 lines 0 comments Download
A + remoting/jingle_glue/ssl_socket_adapter.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + remoting/jingle_glue/xmpp_socket_adapter.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + remoting/jingle_glue/xmpp_socket_adapter.cc View 5 chunks +6 lines, -7 lines 0 comments Download
M remoting/remoting.gyp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
akalin
+sergeyu for remoting stuff, +tim for everything else
10 years, 3 months ago (2010-09-09 03:51:51 UTC) #1
akalin
Sergey, let me know if you guys would like to use ChromeAsyncSocket, too. If so, ...
10 years, 3 months ago (2010-09-09 03:55:03 UTC) #2
akalin
Fixed checkdeps problem. On 2010/09/09 03:55:03, akalin wrote: > Sergey, let me know if you ...
10 years, 3 months ago (2010-09-09 18:16:31 UTC) #3
Sergey Ulanov
On 2010/09/09 03:55:03, akalin wrote: > Sergey, let me know if you guys would like ...
10 years, 3 months ago (2010-09-09 18:23:09 UTC) #4
akalin
tim, ping! On 2010/09/09 18:23:09, sergeyu wrote: > On 2010/09/09 03:55:03, akalin wrote: > > ...
10 years, 3 months ago (2010-09-09 22:10:05 UTC) #5
tim (not reviewing)
LGTM http://codereview.chromium.org/3298021/diff/17001/18002 File chrome/browser/sync/tools/sync_listen_notifications.cc (right): http://codereview.chromium.org/3298021/diff/17001/18002#newcode95 chrome/browser/sync/tools/sync_listen_notifications.cc:95: ssl_config, 4096, 64 * 1024, NULL); would be ...
10 years, 3 months ago (2010-09-09 22:44:35 UTC) #6
akalin
http://codereview.chromium.org/3298021/diff/17001/18002 File chrome/browser/sync/tools/sync_listen_notifications.cc (right): http://codereview.chromium.org/3298021/diff/17001/18002#newcode95 chrome/browser/sync/tools/sync_listen_notifications.cc:95: ssl_config, 4096, 64 * 1024, NULL); Will do, as ...
10 years, 3 months ago (2010-09-09 22:47:34 UTC) #7
willchan no longer on Chromium
Hi, Apparently this changelist leads to writes to the ChromeNetLog (a thread-unsafe object) from multiple ...
10 years, 3 months ago (2010-09-10 16:39:16 UTC) #8
akalin
Hunh that is strange, given the fact that ChromeAsyncSocket is used with or without this ...
10 years, 3 months ago (2010-09-10 17:08:38 UTC) #9
willchan no longer on Chromium
Yeah, I read through the CL to try to understand why, but I don't know. ...
10 years, 3 months ago (2010-09-10 17:10:44 UTC) #10
willchan no longer on Chromium
Btw, the other thing that I noticed happened was we were doing OCSP on these ...
10 years, 3 months ago (2010-09-10 17:13:50 UTC) #11
akalin
10 years, 3 months ago (2010-09-10 17:51:01 UTC) #12
The fake SSL adapter shouldn't be doing any real SSL work, so it
shouldn't be triggering OCSP checks.  However, I thought it was a
long-standing problem that the OCSP initialization wasn't thread-safe
etc., and we were using it on the sync xmpp thread (with or without
ChromeAsyncSocket).

On Fri, Sep 10, 2010 at 10:13 AM, William Chan (陈智昌)
<willchan@chromium.org> wrote:
> Btw, the other thing that I noticed happened was we were doing OCSP on these
> other threads.  I wonder if the fake ssl adapter you're using is somehow
> triggering OCSP checks?  That might be a bug.
>
> On Fri, Sep 10, 2010 at 10:10 AM, William Chan (陈智昌) <willchan@chromium.org>
> wrote:
>>
>> Yeah, I read through the CL to try to understand why, but I don't know.
>>  There's a chance that I reverted the wrong changelist, but when I reverted,
>> this definitely was fixed (or maybe I just needed to restart).
>>
>> On Fri, Sep 10, 2010 at 10:08 AM, Fred Akalin <akalin@chromium.org> wrote:
>>>
>>> Hunh that is strange, given the fact that ChromeAsyncSocket is used with
>>> or without this CL. All this CL does (ostensibly) is remove the now-unused
>>> branches.
>>>
>>> On Sep 10, 2010 9:39 AM, <willchan@chromium.org> wrote:
>>> > Hi,
>>> >
>>> > Apparently this changelist leads to writes to the ChromeNetLog (a
>>> > thread-unsafe
>>> > object) from multiple threads, which is very bad (I'm hitting a ton of
>>> > DCHECKs
>>> > in my debug linux Chromium build, which look to be happening on sync
>>> > threads).
>>> > I've reverted it locally on my chromium branch which fixes the DCHECKs.
>>> > I'm
>>> > going to revert it on trunk. Sorry for any inconvenience. I believe the
>>> > solution will be to make ChromeNetLog threadsafe. I'm filing a bug for
>>> > it
>>> > too.
>>> >
>>> > On 2010/09/09 22:47:34, akalin wrote:
>>> >> http://codereview.chromium.org/3298021/diff/17001/18002
>>> >> File chrome/browser/sync/tools/sync_listen_notifications.cc (right):
>>> >
>>> >> http://codereview.chromium.org/3298021/diff/17001/18002#newcode95
>>> >> chrome/browser/sync/tools/sync_listen_notifications.cc:95: ssl_config,
>>> >> 4096,
>>> > 64
>>> >> * 1024, NULL);
>>> >> Will do, as separate CL.
>>> >
>>> >> On 2010/09/09 22:44:35, timsteele wrote:
>>> >> > would be nice if these numbers were constants
>>> >
>>> >
>>> >
>>> > http://codereview.chromium.org/3298021/show
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698