blob: 916a3ca97781fe12269a7edea34c016ea39039c0 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CONTENT_SETTINGS_BLOCK_POPUPS_APP_INTERFACE_H_
#define IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CONTENT_SETTINGS_BLOCK_POPUPS_APP_INTERFACE_H_
#import <Foundation/Foundation.h>
#include "components/content_settings/core/common/content_settings.h"
// BlockPopupsAppInterface provides app-side helpers for BlockPopupsTest.
@interface BlockPopupsAppInterface : NSObject
// Sets the popup content setting policy for the given `pattern`.
+ (void)setPopupPolicy:(ContentSetting)policy forPattern:(NSString*)pattern;
@end
#endif // IOS_CHROME_BROWSER_SETTINGS_UI_BUNDLED_CONTENT_SETTINGS_BLOCK_POPUPS_APP_INTERFACE_H_