| Index: chrome/browser/ui/android/page_info/page_info_popup_android.h
|
| diff --git a/chrome/browser/ui/android/page_info/page_info_popup_android.h b/chrome/browser/ui/android/page_info/page_info_popup_android.h
|
| index e7b6c893e7f4369d1ed24b0ff680fd197846ec66..fe8000a100cccbd1fe350a7c37b3b075ed087787 100644
|
| --- a/chrome/browser/ui/android/page_info/page_info_popup_android.h
|
| +++ b/chrome/browser/ui/android/page_info/page_info_popup_android.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/android/scoped_java_ref.h"
|
| #include "base/macros.h"
|
| +#include "base/optional.h"
|
| #include "chrome/browser/ui/page_info/page_info_ui.h"
|
|
|
| namespace content {
|
| @@ -51,6 +52,13 @@ class PageInfoPopupAndroid : public PageInfoUI {
|
| static bool RegisterPageInfoPopupAndroid(JNIEnv* env);
|
|
|
| private:
|
| + // Returns an optional value which is set if this permission should be
|
| + // displayed in Page Info. Most permissions will only be displayed if they are
|
| + // set to some non-default value, but there are some permissions which require
|
| + // customized behavior.
|
| + base::Optional<ContentSetting> GetSettingToDisplay(
|
| + const PermissionInfo& permission);
|
| +
|
| // The presenter that controlls the Page Info UI.
|
| std::unique_ptr<PageInfo> presenter_;
|
|
|
|
|