blob: 72230daeeb656c50d30b6256592ea03d0409449d [file] [log] [blame]
// Copyright 2016 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 Intervention_h
#define Intervention_h
#include "core/CoreExport.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/Noncopyable.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
class LocalFrame;
class CORE_EXPORT Intervention {
Intervention() {}
~Intervention() {}
// Generates a intervention report, to be routed to the Reporting API and any
// ReportingObservers. Also sends the intervention message to the console.
static void GenerateReport(const LocalFrame*, const String& message);
} // namespace blink
#endif // Intervention_h