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

Unified Diff: chrome/browser/net/network_stats.cc

Issue 14247008: UDP Network Connectivity - Perform 6 packet and FEC connectivity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/network_stats.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/network_stats.cc
===================================================================
--- chrome/browser/net/network_stats.cc (revision 195006)
+++ chrome/browser/net/network_stats.cc (working copy)
@@ -82,7 +82,7 @@
// HistogramPortSelector and kPorts should be kept in sync. Port 999999 is
// used by the unit tests.
-static const int32 kPorts[] = {6121, 999999};
+static const int32 kPorts[] = {443, 999999};
// Number of packets that are recorded in a packet-correlation histogram, which
// shows exactly what sequence of packets were responded to. We use this to
@@ -924,7 +924,7 @@
CR_DEFINE_STATIC_LOCAL(scoped_refptr<base::FieldTrial>, trial, ());
static bool collect_stats = false;
static NetworkStats::HistogramPortSelector histogram_port =
- NetworkStats::PORT_6121;
+ NetworkStats::PORT_443;
if (!trial.get()) {
// Set up a field trial to collect network stats for UDP.
@@ -937,17 +937,17 @@
if (channel == chrome::VersionInfo::CHANNEL_CANARY)
probability_per_group = kDivisor;
else if (channel == chrome::VersionInfo::CHANNEL_DEV)
- // Enable the connectivity testing for 10% of the users in dev channel.
+ // Enable the connectivity testing for 50% of the users in dev channel.
probability_per_group = 500;
else if (channel == chrome::VersionInfo::CHANNEL_BETA)
// Enable the connectivity testing for 5% of the users in beta channel.
probability_per_group = 50;
- // After October 30, 2012 builds, it will always be in default group
+ // After October 30, 2013 builds, it will always be in default group
// (disable_network_stats).
trial = base::FieldTrialList::FactoryGetFieldTrial(
"NetworkConnectivity", kDivisor, "disable_network_stats",
- 2012, 10, 30, NULL);
+ 2013, 10, 30, NULL);
// Add option to collect_stats for NetworkConnectivity.
int collect_stats_group = trial->AppendGroup("collect_stats",
« no previous file with comments | « chrome/browser/net/network_stats.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698