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

Issue 3333014: Delayed event support in JingleThread. (Closed)

Created:
10 years, 3 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, dmac, awong, garykac, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Delayed event support in JingleThread. BUG=54347 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58773

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Total comments: 8

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -23 lines) Patch
M remoting/jingle_glue/jingle_thread.cc View 1 2 3 2 chunks +57 lines, -23 lines 0 comments Download
M remoting/jingle_glue/jingle_thread_unittest.cc View 1 2 3 4 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
10 years, 3 months ago (2010-09-03 02:07:21 UTC) #1
awong
http://codereview.chromium.org/3333014/diff/5001/6001 File remoting/jingle_glue/jingle_thread.cc (right): http://codereview.chromium.org/3333014/diff/5001/6001#newcode29 remoting/jingle_glue/jingle_thread.cc:29: delayed_work_time_ = time; What's the threading assumptions on who ...
10 years, 3 months ago (2010-09-03 18:20:41 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/3333014/diff/5001/6001 File remoting/jingle_glue/jingle_thread.cc (right): http://codereview.chromium.org/3333014/diff/5001/6001#newcode29 remoting/jingle_glue/jingle_thread.cc:29: delayed_work_time_ = time; On 2010/09/03 18:20:42, awong wrote: > ...
10 years, 3 months ago (2010-09-03 18:42:01 UTC) #3
Sergey Ulanov
+hclam ping
10 years, 3 months ago (2010-09-07 21:33:13 UTC) #4
Alpha Left Google
http://codereview.chromium.org/3333014/diff/9001/10002 File remoting/jingle_glue/jingle_thread_unittest.cc (right): http://codereview.chromium.org/3333014/diff/9001/10002#newcode39 remoting/jingle_glue/jingle_thread_unittest.cc:39: TEST(JingleThreadTest, PostDelayedTask) { In generally we shouldn't have time-dependant ...
10 years, 3 months ago (2010-09-07 22:02:12 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/3333014/diff/9001/10002 File remoting/jingle_glue/jingle_thread_unittest.cc (right): http://codereview.chromium.org/3333014/diff/9001/10002#newcode39 remoting/jingle_glue/jingle_thread_unittest.cc:39: TEST(JingleThreadTest, PostDelayedTask) { On 2010/09/07 22:02:13, Alpha wrote: > ...
10 years, 3 months ago (2010-09-07 22:18:42 UTC) #6
Alpha Left Google
On 2010/09/07 22:18:42, sergeyu wrote: > http://codereview.chromium.org/3333014/diff/9001/10002 > File remoting/jingle_glue/jingle_thread_unittest.cc (right): > > http://codereview.chromium.org/3333014/diff/9001/10002#newcode39 > ...
10 years, 3 months ago (2010-09-07 22:23:22 UTC) #7
Sergey Ulanov
On 2010/09/07 22:23:22, Alpha wrote: > Then why don't we wait indefinitely for the task ...
10 years, 3 months ago (2010-09-07 22:37:19 UTC) #8
Alpha Left Google
10 years, 3 months ago (2010-09-07 22:38:37 UTC) #9
On 2010/09/07 22:37:19, sergeyu wrote:
> On 2010/09/07 22:23:22, Alpha wrote:
> > Then why don't we wait indefinitely for the task to be executed? This is
make
> > the test less time dependant. In that cast the test harness will timeout but
> > will be easy to catch, rather than potentially being flaky.
> 
> It is just so that the tests take less time to execute if, for whatever
reason,
> this test gets broken. I've increased timeout, and added new constant for it.

ok, lgtm.

Powered by Google App Engine
This is Rietveld 408576698