blob: 358f1f7b30ede0d59942d89dc699af32d64ac3f1 [file] [log] [blame]
// Copyright (c) 2019 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 CONTENT_PUBLIC_BROWSER_ORIGIN_POLICY_COMMANDS_H_
#define CONTENT_PUBLIC_BROWSER_ORIGIN_POLICY_COMMANDS_H_
#include "content/common/content_export.h"
class GURL;
namespace content {
// Instruct the Origin Policy throttle to disregard errors for the given URL.
//
// Intended use: This should be called by the browser when the user selects
// "proceed" on the security interstitial page for the given URL.
CONTENT_EXPORT void OriginPolicyAddExceptionFor(const GURL& url);
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_ORIGIN_POLICY_COMMANDS_H_