jwd | a5d1883 | 2016-05-12 19:43:31 | [diff] [blame] | 1 | // Copyright 2016 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "components/metrics/enabled_state_provider.h" | ||||
6 | |||||
7 | namespace metrics { | ||||
8 | |||||
9 | bool EnabledStateProvider::IsReportingEnabled() { | ||||
10 | return IsConsentGiven(); | ||||
11 | } | ||||
12 | |||||
13 | } // namespace metrics |