blob: 096d5ff7ddc39f01f90450dbdcd06616274c6d8b [file] [log] [blame]
Mugdha Lakhani83baeab2020-03-20 13:08:231// Copyright 2020 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_DELEGATE_H_
6#define CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_DELEGATE_H_
7
8#include <string>
9#include "components/content_settings/core/common/content_settings_types.h"
10
11// PageInfoDelegate allows an embedder to customize PageInfo logic.
12class PageInfoDelegate {
13 public:
14 virtual ~PageInfoDelegate() = default;
15
16 // Whether the content setting of type |type| has changed via Page Info UI.
17 virtual bool HasContentSettingChangedViaPageInfo(
18 ContentSettingsType type) = 0;
19};
20
21#endif // CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_DELEGATE_H_