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

Issue 10828373: [net] Add AsyncDns field trial. (Closed)

Created:
8 years, 4 months ago by szym
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, mmenke
Visibility:
Public.

Description

[net] Add AsyncDns field trial. This adds AsyncDns field trial which sets --enable-async-dns for 50% of users who have not configured any HostResolverImpl-related flags. BUG=143454 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152876

Patch Set 1 : . #

Patch Set 2 : better var names #

Total comments: 12

Patch Set 3 : move field trial to chrome/browser/net, disable in tests #

Patch Set 4 : rebase #

Patch Set 5 : disable flag on CrOS, fix comment #

Patch Set 6 : disable field trial for mobile devices #

Total comments: 6

Patch Set 7 : responded to review #

Patch Set 8 : change namespace to chrome_browser_net #

Patch Set 9 : remove unneeded changes to net/host_resolver* #

Patch Set 10 : sync #

Patch Set 11 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -6 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 4 chunks +19 lines, -4 lines 0 comments Download
A chrome/browser/net/async_dns_field_trial.h View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/net/async_dns_field_trial.cc View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/base/test_launcher_utils.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
szym
I think this is the simplest way to do that without taking any technical debt. ...
8 years, 4 months ago (2012-08-17 18:56:08 UTC) #1
cbentzel
http://codereview.chromium.org/10828373/diff/11/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10828373/diff/11/chrome/browser/about_flags.cc#newcode531 chrome/browser/about_flags.cc:531: kOsWin | kOsMac | kOsLinux | kOsCrOS, Should you ...
8 years, 4 months ago (2012-08-20 11:45:56 UTC) #2
szym
http://codereview.chromium.org/10828373/diff/11/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10828373/diff/11/chrome/browser/about_flags.cc#newcode531 chrome/browser/about_flags.cc:531: kOsWin | kOsMac | kOsLinux | kOsCrOS, On 2012/08/20 ...
8 years, 4 months ago (2012-08-20 17:54:21 UTC) #3
cbentzel
I also wonder if you need to disable this field trial in browser_tests. http://codereview.chromium.org/10828373/diff/11/chrome/browser/about_flags.cc File ...
8 years, 4 months ago (2012-08-21 10:50:53 UTC) #4
szym
On 2012/08/21 10:50:53, cbentzel wrote: > I also wonder if you need to disable this ...
8 years, 4 months ago (2012-08-21 13:39:49 UTC) #5
cbentzel
On 2012/08/21 13:39:49, szym wrote: > On 2012/08/21 10:50:53, cbentzel wrote: > > I also ...
8 years, 4 months ago (2012-08-21 14:52:03 UTC) #6
szym
Ready for another round of review. PTAL.
8 years, 4 months ago (2012-08-21 19:29:48 UTC) #7
szym
http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.cc File chrome/browser/net/async_dns_field_trial.cc (right): http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.cc#newcode23 chrome/browser/net/async_dns_field_trial.cc:23: channel == chrome::VersionInfo::CHANNEL_CANARY) { Should this be |channel <= ...
8 years, 4 months ago (2012-08-21 20:09:40 UTC) #8
szym
ping?
8 years, 4 months ago (2012-08-22 16:17:09 UTC) #9
cbentzel
http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.cc File chrome/browser/net/async_dns_field_trial.cc (right): http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.cc#newcode14 chrome/browser/net/async_dns_field_trial.cc:14: #if defined(OS_ANDROID) || defined(OS_IOS) CrOS as well? http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.cc#newcode17 chrome/browser/net/async_dns_field_trial.cc:17: ...
8 years, 4 months ago (2012-08-22 17:16:54 UTC) #10
szym
http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.h File chrome/browser/net/async_dns_field_trial.h (right): http://codereview.chromium.org/10828373/diff/2011/chrome/browser/net/async_dns_field_trial.h#newcode13 chrome/browser/net/async_dns_field_trial.h:13: namespace net { On 2012/08/22 17:16:55, cbentzel wrote: > ...
8 years, 4 months ago (2012-08-22 17:39:01 UTC) #11
szym
All done.
8 years, 4 months ago (2012-08-22 17:56:36 UTC) #12
cbentzel
LGTM
8 years, 4 months ago (2012-08-22 18:19:01 UTC) #13
szym
ben: please approve changes in chrome/
8 years, 4 months ago (2012-08-22 18:26:07 UTC) #14
szym
sky: mind taking a quick look? Your OWNERS approval needed for chrome/
8 years, 4 months ago (2012-08-22 19:51:42 UTC) #15
sky
LGTM
8 years, 4 months ago (2012-08-22 21:47:14 UTC) #16
szym
Thanks! On Wed, Aug 22, 2012 at 5:47 PM, <sky@chromium.org> wrote: > LGTM > > ...
8 years, 4 months ago (2012-08-22 21:50:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/10828373/15022
8 years, 4 months ago (2012-08-22 22:36:13 UTC) #18
commit-bot: I haz the power
8 years, 4 months ago (2012-08-22 23:30:17 UTC) #19
Failed to apply patch for chrome/chrome_browser.gypi:
While running patch -p1 --forward --force;
patching file chrome/chrome_browser.gypi
Hunk #1 FAILED at 1502.
1 out of 1 hunk FAILED -- saving rejects to file chrome/chrome_browser.gypi.rej

Powered by Google App Engine
This is Rietveld 408576698