blob: 393db4ccf5bfe9fdfa649380fd5dd1558137f402 [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.
#import <Foundation/Foundation.h>
namespace web {
enum class CookieBlockingMode;
// Creates the rules json as a string for cookie blocking following the format
// expected by the Content Blocker API.
NSString* CreateCookieBlockingJsonRuleList(CookieBlockingMode block_mode);
// Creates the rules json as a string for blocking all online resources loaded
// from file:// or application specific scheme:// pages.
NSString* CreateLocalBlockingJsonRuleList();
} // namespace web