From 0acdfc4d546f11a767004d9b2262ce0d44a2a096 Mon Sep 17 00:00:00 2001 From: "wtc@chromium.org" Date: Fri, 30 Jan 2009 01:13:22 +0000 Subject: 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 --- chrome/browser/metrics/metrics_service.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chrome') 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() { -- cgit v1.1