Domain Reliability: Don't upload when metrics reporting is off.
commitfa8427f940699df3073889af4ab20a1fb2b9ed37
authorttuttle <ttuttle@chromium.org>
Mon, 25 Aug 2014 19:38:03 +0000 (25 12:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 25 Aug 2014 19:39:40 +0000 (25 19:39 +0000)
treea337eee618f603863bddce665f9aebc1582f6db8
parent07884070ecfe2e6ad00a5493dfdc4df891bbd142
Domain Reliability: Don't upload when metrics reporting is off.

Tie Domain Reliability uploads to metrics reporting -- halt uploads when
reporting is turned off. (Keep recording, since we will eventually be able to
access reports through JavaScript as well.)

BUG=407170

Review URL: https://codereview.chromium.org/491753003

Cr-Commit-Position: refs/heads/master@{#291740}
17 files changed:
base/prefs/pref_member.cc
base/prefs/pref_member.h
chrome/browser/browsing_data/browsing_data_remover_unittest.cc
chrome/browser/profiles/profile_impl.cc
chrome/browser/profiles/profile_impl.h
chrome/browser/profiles/profile_impl_io_data.cc
components/domain_reliability.gypi
components/domain_reliability/monitor.cc
components/domain_reliability/monitor.h
components/domain_reliability/monitor_unittest.cc
components/domain_reliability/service.cc
components/domain_reliability/service.h
components/domain_reliability/test_util.cc
components/domain_reliability/test_util.h
components/domain_reliability/uploader.cc
components/domain_reliability/uploader.h
components/domain_reliability/uploader_unittest.cc