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

Issue 1137433003: Encouraging ThreadTaskRunnerHandle usage in net/dns module (Closed)

Created:
5 years, 7 months ago by anujsharma
Modified:
5 years, 6 months ago
Reviewers:
asanka
CC:
cbentzel+watch_chromium.org, chromium-reviews, mmenke, Pranay
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Encouraging ThreadTaskRunnerHandle usage in net/dns module MessageLoopProxy is deprecated. This basically does a search and replace of: MessageLoopProxy::current() -> ThreadTaskRunnerHandle::Get(). MessageLoopProxy -> SingleThreadTaskRunner BUG=391045 Committed: https://crrev.com/7c907f0a3aeb080691bfb1d74d3c46bc577e15cb Cr-Commit-Position: refs/heads/master@{#331916}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed comments #

Total comments: 4

Patch Set 3 : Fixed Review Comments 2 #

Patch Set 4 : Fixed build failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -41 lines) Patch
M net/dns/host_resolver_impl.cc View 1 2 3 15 chunks +37 lines, -27 lines 0 comments Download
M net/dns/serial_worker.h View 3 3 chunks +4 lines, -4 lines 0 comments Download
M net/dns/serial_worker.cc View 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
anujsharma
PTAL
5 years, 7 months ago (2015-05-12 17:29:05 UTC) #2
asanka
https://codereview.chromium.org/1137433003/diff/1/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/1137433003/diff/1/net/dns/host_resolver_impl.cc#newcode908 net/dns/host_resolver_impl.cc:908: scoped_refptr<base::SingleThreadTaskRunner> origin_loop_; Could you rename this to task_runner_ and ...
5 years, 7 months ago (2015-05-14 04:06:37 UTC) #3
anujsharma
Thanks asanka for your comments!! I have made the changes. PTAL Thanks!! https://codereview.chromium.org/1137433003/diff/1/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc ...
5 years, 7 months ago (2015-05-14 04:39:40 UTC) #4
asanka
https://codereview.chromium.org/1137433003/diff/20001/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/1137433003/diff/20001/net/dns/host_resolver_impl.cc#newcode916 net/dns/host_resolver_impl.cc:916: // Used to post ourselves onto the task runner ...
5 years, 7 months ago (2015-05-14 18:38:40 UTC) #5
anujsharma
Hi Asanka, updated the patch set, PTAL :) -Thanks https://codereview.chromium.org/1137433003/diff/20001/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/1137433003/diff/20001/net/dns/host_resolver_impl.cc#newcode916 net/dns/host_resolver_impl.cc:916: ...
5 years, 7 months ago (2015-05-20 13:13:16 UTC) #6
asanka
lgtm
5 years, 7 months ago (2015-05-20 16:58:44 UTC) #7
anujsharma
On 2015/05/20 16:58:44, asanka wrote: > lgtm Thanks asanka for lgtm.
5 years, 7 months ago (2015-05-21 02:42:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137433003/40001
5 years, 7 months ago (2015-05-21 02:43:34 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/61315)
5 years, 7 months ago (2015-05-21 03:21:28 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137433003/60001
5 years, 6 months ago (2015-05-28 03:29:20 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-05-28 04:30:25 UTC) #17
anujsharma
@asanka, Sorry for late response, i was out of station. loop() in "net/dns/serial_worker.h" is indirectly ...
5 years, 6 months ago (2015-05-28 06:11:17 UTC) #18
asanka
lgtm
5 years, 6 months ago (2015-05-28 14:38:15 UTC) #19
anujsharma
On 2015/05/28 14:38:15, asanka wrote: > lgtm Thank you asanka for lgtm!!
5 years, 6 months ago (2015-05-29 02:51:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137433003/60001
5 years, 6 months ago (2015-05-29 02:51:46 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-05-29 02:55:52 UTC) #23
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 02:56:45 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7c907f0a3aeb080691bfb1d74d3c46bc577e15cb
Cr-Commit-Position: refs/heads/master@{#331916}

Powered by Google App Engine
This is Rietveld 408576698