OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/dom_distiller/core/feedback_reporter.h" | 5 #include "components/dom_distiller/core/feedback_reporter.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram_macros.h" |
8 | 8 |
9 namespace dom_distiller { | 9 namespace dom_distiller { |
10 | 10 |
11 FeedbackReporter::FeedbackReporter() {} | 11 FeedbackReporter::FeedbackReporter() {} |
12 | 12 |
13 FeedbackReporter::~FeedbackReporter() {} | 13 FeedbackReporter::~FeedbackReporter() {} |
14 | 14 |
15 // static | 15 // static |
16 void FeedbackReporter::ReportQuality(bool good) { | 16 void FeedbackReporter::ReportQuality(bool good) { |
17 UMA_HISTOGRAM_BOOLEAN("DomDistiller.DistillationQuality", good); | 17 UMA_HISTOGRAM_BOOLEAN("DomDistiller.DistillationQuality", good); |
18 } | 18 } |
19 | 19 |
20 } // namespace dom_distiller | 20 } // namespace dom_distiller |
OLD | NEW |