Home | History | Annotate | Download | only in capture
      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 "content/browser/media/capture/desktop_capture_device_uma_types.h"
      6 
      7 #include "base/metrics/histogram.h"
      8 
      9 namespace content {
     10 
     11 const char kUmaScreenCaptureTime[] = "WebRTC.ScreenCaptureTime";
     12 const char kUmaWindowCaptureTime[] = "WebRTC.WindowCaptureTime";
     13 
     14 void IncrementDesktopCaptureCounter(DesktopCaptureCounters counter) {
     15   UMA_HISTOGRAM_ENUMERATION("WebRTC.DesktopCaptureCounters",
     16                             counter,
     17                             DESKTOP_CAPTURE_COUNTER_BOUNDARY);
     18 }
     19 
     20 }  // namespace content
     21