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

Issue 1160073004: chrome/browser/ui: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed)

Created:
5 years, 6 months ago by Sami
Modified:
5 years, 6 months ago
Reviewers:
msw
CC:
chromium-reviews, asanka, sadrul, nkostylev+watch_chromium.org, zea+watch_chromium.org, dcheng, noyau+watch_chromium.org, stevenjb+watch_chromium.org, tim+watch_chromium.org, tapted, Matt Giuca, benjhayden+dwatch_chromium.org, dzhioev+watch_chromium.org, pvalenzuela+watch_chromium.org, kalyank, jennb, extensions-reviews_chromium.org, jianli, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, rouslan+autofillwatch_chromium.org, maniscalco+watch_chromium.org, tfarina, maxbogue+watch_chromium.org, Dmitry Titov, plaree+watch_chromium.org, estade+watch_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome/browser/ui: Remove use of MessageLoopProxy and deprecated MessageLoop APIs This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 Committed: https://crrev.com/380bb22211dafb455405b3cc4fb4fc0ec5323ac6 Cr-Commit-Position: refs/heads/master@{#334146}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check for task runner instead of current message loop. #

Total comments: 25

Patch Set 3 : Review comments. #

Patch Set 4 : Harmonize MessageLoop/TTRH usage. #

Total comments: 13

Patch Set 5 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -211 lines) Patch
M chrome/browser/ui/app_list/app_list_service_impl.cc View 1 4 chunks +13 lines, -15 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_shower_views.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/card_unmask_prompt_view_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_focus_uitest.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/extensions/extension_installed_bubble.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/fast_unload_controller.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/docked_panel_collection.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/panels/panel_host.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_observer.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/tab_modal_confirm_dialog_browsertest.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/tabs/hover_tab_selector.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/unload_controller.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_base_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 2 3 4 7 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/importer/import_lock_dialog_view.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/menu_model_adapter_test.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/message_center/web_notification_tray.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 3 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/status_icons/status_tray_win.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/chevron_menu_button.cc View 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/web_dialog_view_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/l10n_util_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 6 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Sami
Sorry for the big patch but it is pretty mechanical. PTAL.
5 years, 6 months ago (2015-06-08 18:30:11 UTC) #2
msw
https://codereview.chromium.org/1160073004/diff/1/chrome/browser/ui/app_list/app_list_service_impl.cc File chrome/browser/ui/app_list/app_list_service_impl.cc (right): https://codereview.chromium.org/1160073004/diff/1/chrome/browser/ui/app_list/app_list_service_impl.cc#newcode421 chrome/browser/ui/app_list/app_list_service_impl.cc:421: if (base::MessageLoop::current()) { Shouldn't this now check base::ThreadTaskRunnerHandle::IsSet() or ...
5 years, 6 months ago (2015-06-09 00:51:56 UTC) #3
Sami
https://codereview.chromium.org/1160073004/diff/1/chrome/browser/ui/app_list/app_list_service_impl.cc File chrome/browser/ui/app_list/app_list_service_impl.cc (right): https://codereview.chromium.org/1160073004/diff/1/chrome/browser/ui/app_list/app_list_service_impl.cc#newcode421 chrome/browser/ui/app_list/app_list_service_impl.cc:421: if (base::MessageLoop::current()) { On 2015/06/09 00:51:56, msw wrote: > ...
5 years, 6 months ago (2015-06-09 10:20:08 UTC) #4
msw
Can you please take a closer look at this CL? I'm worried that the automated ...
5 years, 6 months ago (2015-06-10 00:12:58 UTC) #5
Sami
Thanks again for the detailed review of a hefty patch. There are some more details ...
5 years, 6 months ago (2015-06-10 12:35:34 UTC) #6
msw
I know you've discussed these plans thoroughly, but I dislike the added complexity in a ...
5 years, 6 months ago (2015-06-10 19:34:01 UTC) #7
Sami
On 2015/06/10 19:34:01, msw wrote: > I know you've discussed these plans thoroughly, but I ...
5 years, 6 months ago (2015-06-11 18:14:28 UTC) #8
msw
On 2015/06/11 18:14:28, Sami wrote: > On 2015/06/10 19:34:01, msw wrote: > > I know ...
5 years, 6 months ago (2015-06-11 18:25:34 UTC) #9
Sami
On 2015/06/11 18:25:34, msw wrote: > > Yes, that sounds much nicer, at least for ...
5 years, 6 months ago (2015-06-11 19:09:05 UTC) #10
msw
lgtm with nits https://codereview.chromium.org/1160073004/diff/60001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1160073004/diff/60001/chrome/browser/ui/browser_browsertest.cc#newcode207 chrome/browser/ui/browser_browsertest.cc:207: base::MessageLoop::current()->task_runner()->PostTask( nit: include message_loop.h and base/location.h ...
5 years, 6 months ago (2015-06-12 00:31:22 UTC) #11
Sami
Thanks, all comments addressed. https://codereview.chromium.org/1160073004/diff/60001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1160073004/diff/60001/chrome/browser/ui/browser_browsertest.cc#newcode207 chrome/browser/ui/browser_browsertest.cc:207: base::MessageLoop::current()->task_runner()->PostTask( On 2015/06/12 00:31:21, msw ...
5 years, 6 months ago (2015-06-12 10:56:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1160073004/80001
5 years, 6 months ago (2015-06-12 10:56:51 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-12 12:07:17 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 12:08:13 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/380bb22211dafb455405b3cc4fb4fc0ec5323ac6
Cr-Commit-Position: refs/heads/master@{#334146}

Powered by Google App Engine
This is Rietveld 408576698