blob: f8b3e7bcde5496ade28b743b7ff6fe108a9d21fb [file] [log] [blame]
// Copyright 2017 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.
class Profile;
namespace content {
class WebContents;
namespace safe_browsing {
// Takes care of creation of individual triggers. This functionality lives in a
// separate class from TriggerManager to avoid circular dependencies.
// TriggerManager need not know about individual trigger classes, while the
// trigger classes needs to know about the TriggerManager in order to fire
// triggers.
class TriggerCreator {
static void MaybeCreateTriggersForWebContents(
Profile* profile,
content::WebContents* web_contents);
} // namespace safe_browsing