summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 15:48:53 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 15:48:53 +0000
commit9abfa1903f72e0735c9c1ef6570eef94f26eb4a7 (patch)
tree0a9cc60eebf84295d1a0dd5896d80f96b9461f75 /chrome/browser/metrics
parent056f879b0a2a3281818bda56011081a6c683208e (diff)
downloadchromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.zip
chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.gz
chromium_src-9abfa1903f72e0735c9c1ef6570eef94f26eb4a7.tar.bz2
Deprecate Profile::GetDefaultRequestContext().
Make it private and establish a friend whitelist for existing users. BUG=64339 TEST=none Review URL: http://codereview.chromium.org/7438002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r--chrome/browser/metrics/metrics_service.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index e5fbe6f..647ca99 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -1268,7 +1268,8 @@ void MetricsService::PrepareFetchWithPendingLog() {
current_fetch_.reset(new URLFetcher(GURL(WideToUTF16(server_url_)),
URLFetcher::POST,
this));
- current_fetch_->set_request_context(Profile::GetDefaultRequestContext());
+ current_fetch_->set_request_context(
+ Profile::Deprecated::GetDefaultRequestContext());
current_fetch_->set_upload_data(kMetricsType, compressed_log_);
}