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

Issue 2872863003: Use base::FileDescriptorWatcher instead of MessageLoopForIO::WatchFileDescriptor in proxy_config_se… (Closed)

Created:
3 years, 7 months ago by gab
Modified:
3 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org, Raphael Kubo da Costa (rakuco), fdoray
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use base::FileDescriptorWatcher instead of MessageLoopForIO::WatchFileDescriptor in proxy_config_service_linux.cc base::FileDescriptorWatcher is the equivalent MessageLoop independent API (the only difference is an extra PostTask hop on notification which is irrelevant for low volume handles) This MessageLoopForIO::WatchFileDescriptor is causing problems @ https://bugs.chromium.org/p/chromium/issues/detail?id=653916#c47 per the FILE thread's MessageLoop going away. BUG=645114, 653916 Review-Url: https://codereview.chromium.org/2872863003 Cr-Commit-Position: refs/heads/master@{#470702} Committed: https://chromium.googlesource.com/chromium/src/+/f4f904edc4cbbb9ffd269cd6fd5d26d9925aee8c

Patch Set 1 #

Patch Set 2 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -20 lines) Patch
M net/proxy/proxy_config_service_linux.cc View 1 7 chunks +8 lines, -20 lines 0 comments Download

Messages

Total messages: 26 (20 generated)
gab
Matt PTaL and CQ if LGTY, thanks!
3 years, 7 months ago (2017-05-09 19:41:45 UTC) #5
Raphael Kubo da Costa (rakuco)
non-owner l-g-t-m: I can confirm this fixes the crashes on startup I'm having.
3 years, 7 months ago (2017-05-10 09:11:22 UTC) #14
fdoray
lgtm
3 years, 7 months ago (2017-05-10 13:06:05 UTC) #16
mattm
lgtm
3 years, 7 months ago (2017-05-10 20:45:17 UTC) #22
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/2872863003/20001
3 years, 7 months ago (2017-05-10 20:46:52 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 20:55:21 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f4f904edc4cbbb9ffd269cd6fd5d...

Powered by Google App Engine
This is Rietveld 408576698