Domain Reliability: Get correct reporting pref once, on startup
commit91f1bbd1feb4acf767f5fb886b5155a227f56490
authorttuttle <ttuttle@chromium.org>
Tue, 7 Oct 2014 05:57:54 +0000 (6 22:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Oct 2014 05:58:17 +0000 (7 05:58 +0000)
tree6403d84d1ad8c0e2befad914885a83d6596ff8d4
parentb7757ce989a9d88a68bfa98a67be7e4796812e86
Domain Reliability: Get correct reporting pref once, on startup

Instead of wiring the reporting pref all the way down to the Monitor,
grab it once in the ProfileImplIOData, where it's easily accessible and
we already have code to check the right pref on ChromeOS/Android/*.

BUG=409967

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

Cr-Commit-Position: refs/heads/master@{#298394}
chrome/browser/browsing_data/browsing_data_remover_unittest.cc
chrome/browser/profiles/profile_impl.cc
chrome/browser/profiles/profile_impl_io_data.cc
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