| Index: components/metrics/enabled_state_provider.cc
|
| diff --git a/ui/gfx/vector_icons/window_control_maximize.1x.icon b/components/metrics/enabled_state_provider.cc
|
| similarity index 50%
|
| copy from ui/gfx/vector_icons/window_control_maximize.1x.icon
|
| copy to components/metrics/enabled_state_provider.cc
|
| index f1c56bbd48d95762a1e6b4cf0ba8ce26f6bc9d4e..eb7b47a49c64b31202e48652e7e1a3994af9bb7c 100644
|
| --- a/ui/gfx/vector_icons/window_control_maximize.1x.icon
|
| +++ b/components/metrics/enabled_state_provider.cc
|
| @@ -2,17 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -CANVAS_DIMENSIONS, 12,
|
| -MOVE_TO, 11, 1,
|
| -R_V_LINE_TO, 10,
|
| -H_LINE_TO, 1,
|
| -V_LINE_TO, 1,
|
| -R_H_LINE_TO, 10,
|
| -CLOSE,
|
| -MOVE_TO, 9, 9,
|
| -H_LINE_TO, 3,
|
| -V_LINE_TO, 3,
|
| -R_H_LINE_TO, 6,
|
| -R_V_LINE_TO, 6,
|
| -CLOSE,
|
| -END
|
| +#include "components/metrics/enabled_state_provider.h"
|
| +
|
| +namespace metrics {
|
| +
|
| +bool EnabledStateProvider::IsReportingEnabled() {
|
| + return IsConsentGiven();
|
| +}
|
| +
|
| +} // namespace metrics
|
|
|