blob: 2b1477d31369770cc8896b9b5e4dabfa63c350c1 [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"
#include "base/time/time.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_