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

Issue 2701473007: Switch WindowedNotificationObserver to use base::RunLoop. (Closed)

Created:
3 years, 10 months ago by Alexander Semashko
Modified:
3 years, 10 months ago
CC:
achuith+watch_chromium.org, alemate+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, vabr+watchlistlogin_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch WindowedNotificationObserver to use base::RunLoop. Now it will quit the message loop immediately after receiving the notification. Also it does not allow nested tasks anymore. BUG=668707 Review-Url: https://codereview.chromium.org/2701473007 Cr-Commit-Position: refs/heads/master@{#452739} Committed: https://chromium.googlesource.com/chromium/src/+/474e1f148ab83dde92b93a93e53cf83d77b9be13

Patch Set 1 #

Patch Set 2 : Fix tests. #

Patch Set 3 : Fix tests. #

Total comments: 5

Patch Set 4 : Mention the bug; remove deferred quit in WaitForCondition. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -127 lines) Patch
M chrome/browser/chromeos/login/login_manager_test.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc View 1 2 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/ui/login/login_handler_browsertest.cc View 1 2 2 chunks +78 lines, -79 lines 0 comments Download
M chrome/browser/ui/login/login_handler_test_utils.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/login/login_handler_test_utils.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/find_bar_views_interactive_uitest.cc View 1 2 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc View 1 2 2 chunks +48 lines, -21 lines 0 comments Download
M content/public/test/test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_utils.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/test/extension_test_notification_observer.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
Alexander Semashko
PTAL: jochen - chrome/ and content/ rdevlin.cronin - extensions/ https://codereview.chromium.org/2701473007/diff/40001/chrome/browser/ui/login/login_handler_browsertest.cc File chrome/browser/ui/login/login_handler_browsertest.cc (left): https://codereview.chromium.org/2701473007/diff/40001/chrome/browser/ui/login/login_handler_browsertest.cc#oldcode465 chrome/browser/ui/login/login_handler_browsertest.cc:465: ...
3 years, 10 months ago (2017-02-21 21:33:47 UTC) #15
Devlin
https://codereview.chromium.org/2701473007/diff/40001/extensions/test/extension_test_notification_observer.cc File extensions/test/extension_test_notification_observer.cc (right): https://codereview.chromium.org/2701473007/diff/40001/extensions/test/extension_test_notification_observer.cc#newcode143 extensions/test/extension_test_notification_observer.cc:143: // TODO(...): Find out why tests fail without it. ...
3 years, 10 months ago (2017-02-22 00:26:48 UTC) #16
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-22 09:01:13 UTC) #17
Alexander Semashko
https://codereview.chromium.org/2701473007/diff/40001/extensions/test/extension_test_notification_observer.cc File extensions/test/extension_test_notification_observer.cc (right): https://codereview.chromium.org/2701473007/diff/40001/extensions/test/extension_test_notification_observer.cc#newcode143 extensions/test/extension_test_notification_observer.cc:143: // TODO(...): Find out why tests fail without it. ...
3 years, 10 months ago (2017-02-22 17:10:08 UTC) #19
Devlin
extensions lgtm
3 years, 10 months ago (2017-02-23 23:02:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2701473007/60001
3 years, 10 months ago (2017-02-24 00:35:22 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/474e1f148ab83dde92b93a93e53cf83d77b9be13
3 years, 10 months ago (2017-02-24 03:25:28 UTC) #29
Marc Treib
3 years, 10 months ago (2017-02-24 12:48:07 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2715733003/ by treib@chromium.org.

The reason for reverting is: Suspected of causing flakiness in
PrintPreviewDialogControllerBrowserTest.ReloadInitiatorTab

More details in crbug.com/695835.

Powered by Google App Engine
This is Rietveld 408576698