Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: components/dom_distiller/core/feedback_reporter.cc

Issue 197473006: Add FeedbackReporter for reporting distillation quality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed disableUI again and comment Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/dom_distiller/core/feedback_reporter.h"
6
7 #include "base/metrics/histogram.h"
8
9 namespace dom_distiller {
10
11 FeedbackReporter::FeedbackReporter() {}
12
13 FeedbackReporter::~FeedbackReporter() {}
14
15 // static
16 void FeedbackReporter::ReportQuality(bool good) {
17 UMA_HISTOGRAM_BOOLEAN("DomDistiller.DistillationQuality", good);
18 }
19
20 } // namespace dom_distiller
OLDNEW
« no previous file with comments | « components/dom_distiller/core/feedback_reporter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698