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

Issue 12226007: base: Convert the remaining uses of MessageLoop::RunUntilIdle to RunLoop variant. (Closed)

Created:
7 years, 10 months ago by tfarina
Modified:
7 years, 10 months ago
CC:
chromium-reviews, MAD, sadrul, jar (doing other things), tfarina, erikwright+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

base: Convert the remaining uses of MessageLoop::RunUntilIdle to RunLoop variant. The former method is deprecated and actually it is just using RunLoop internally. The later is the cannonical method and should be used instead. BUG=131220 TEST=base_unittests R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180991

Patch Set 1 #

Patch Set 2 : fix win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -69 lines) Patch
M base/files/file_path_watcher_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M base/files/important_file_writer_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M base/message_loop_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M base/message_pump_glib_unittest.cc View 4 chunks +5 lines, -1 line 0 comments Download
M base/metrics/field_trial_unittest.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M base/observer_list_unittest.cc View 12 chunks +14 lines, -14 lines 0 comments Download
M base/prefs/json_pref_store_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 7 chunks +14 lines, -13 lines 0 comments Download
M base/task_runner_util_unittest.cc View 4 chunks +23 lines, -28 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tfarina
Hi Darin, could you review this to me? Thanks,
7 years, 10 months ago (2013-02-05 14:32:24 UTC) #1
tfarina
No idea, what the errors are about :/ ../../base/prefs/json_pref_store_unittest.cc:209:5: error: invalid use of incomplete type ...
7 years, 10 months ago (2013-02-05 14:59:01 UTC) #2
tfarina
passing HEAD to 'git cl try' made it work it seems. I guess it wasn't ...
7 years, 10 months ago (2013-02-05 15:39:14 UTC) #3
darin (slow to review)
Can you now remove the RunUntilIdle() function from MessageLoop?
7 years, 10 months ago (2013-02-05 19:20:50 UTC) #4
tfarina
For sure no, not yet. There are thousands of usage on src/chrome, src/chromeos, src/content/, gpu, ...
7 years, 10 months ago (2013-02-05 19:26:47 UTC) #5
darin (slow to review)
OK, LGTM On Tue, Feb 5, 2013 at 11:26 AM, <tfarina@chromium.org> wrote: > For sure ...
7 years, 10 months ago (2013-02-05 19:27:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/12226007/7001
7 years, 10 months ago (2013-02-06 13:51:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/12226007/7001
7 years, 10 months ago (2013-02-06 16:12:26 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-06 16:56:21 UTC) #9
Message was sent while issue was closed.
Change committed as 180991

Powered by Google App Engine
This is Rietveld 408576698