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

Issue 391027: Fix mediator_thread_impl.cc to run timer tasks when the task runner is... (Closed)

Created:
11 years, 1 month ago by Zachary Kuznia
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ncarter (slow), fbarchard, Alpha Left Google, idana, awong, ben+cc_chromium.org, tim (not reviewing), scherkus (not reviewing)
Visibility:
Public.

Description

Fix mediator_thread_impl.cc to run timer tasks when the task runner is otherwise idle. BUG=19784, 26988 TEST=1. Enable sync and log in. 2. Go to about:sync 3. Check that notifications are enabled. 4. Disable all network adapters, and wait 15 seconds. 5. Refresh about:sync, and ensure that notifications are disabled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31820

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M chrome/browser/sync/notifier/listener/mediator_thread_impl.cc View 1 chunk +10 lines, -9 lines 0 comments Download
M third_party/libjingle/files/talk/base/taskrunner.h View 1 chunk +5 lines, -0 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Zachary Kuznia
11 years, 1 month ago (2009-11-12 02:17:34 UTC) #1
tim (not reviewing)
11 years, 1 month ago (2009-11-12 19:42:53 UTC) #2
LGTM

http://codereview.chromium.org/391027/diff/1/2
File third_party/libjingle/files/talk/base/taskrunner.h (right):

http://codereview.chromium.org/391027/diff/1/2#newcode66
Line 66: next_timeout_task_->TimedOut();
nit - indent 2 more.

Powered by Google App Engine
This is Rietveld 408576698