blob: 713b6b29936368837c9d328197df4bf1652cec35 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_SIGNALING_SIGNALING_TRACKER_H_
#define REMOTING_SIGNALING_SIGNALING_TRACKER_H_
#include "base/macros.h"
namespace remoting {
// Interface to track signaling related information. Useful for telemetry and
// debugging.
class SignalingTracker {
public:
virtual ~SignalingTracker() = default;
// Called whenever a signaling activity is detected. For an active signaling
// channel, this should be called not less than once per minute.
virtual void OnSignalingActive() = 0;
protected:
SignalingTracker() = default;
};
} // namespace remoting
#endif // REMOTING_SIGNALING_SIGNALING_TRACKER_H_