summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics/metrics_service.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 01:13:22 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-30 01:13:22 +0000
commit0acdfc4d546f11a767004d9b2262ce0d44a2a096 (patch)
tree24328efa29565b5fcf3bf043373d9fda472dfe21 /chrome/browser/metrics/metrics_service.cc
parent6b4c14d1377df0512eae5b77c891557b900c4634 (diff)
downloadchromium_src-0acdfc4d546f11a767004d9b2262ce0d44a2a096.zip
chromium_src-0acdfc4d546f11a767004d9b2262ce0d44a2a096.tar.gz
chromium_src-0acdfc4d546f11a767004d9b2262ce0d44a2a096.tar.bz2
Change kMetricsURL to
https://clients4.google.com/firefox/metrics/collect, which has a certificate that matches the host name. Remove the net::LOAD_IGNORE_CERT_COMMON_NAME_INVALID load flag. R=evanm BUG=b/876021 Review URL: http://codereview.chromium.org/19450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics/metrics_service.cc')
-rw-r--r--chrome/browser/metrics/metrics_service.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index 5d6159f..f2b3323 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -192,7 +192,7 @@ using base::TimeDelta;
static bool IsSingleThreaded();
static const char kMetricsURL[] =
- "https://toolbarqueries.google.com/firefox/metrics/collect";
+ "https://clients4.google.com/firefox/metrics/collect";
static const char kMetricsType[] = "application/vnd.mozilla.metrics.bz2";
@@ -1070,8 +1070,6 @@ void MetricsService::PrepareFetchWithPendingLog() {
this));
current_fetch_->set_request_context(Profile::GetDefaultRequestContext());
current_fetch_->set_upload_data(kMetricsType, compressed_log);
- // This flag works around the cert mismatch on toolbarqueries.google.com.
- current_fetch_->set_load_flags(net::LOAD_IGNORE_CERT_COMMON_NAME_INVALID);
}
void MetricsService::DiscardPendingLog() {