components/page_info: Use BUILDFLAG for OS checking

Use BUILDFLAG(IS_XXX) instead of defined(OS_XXX).

Generated by `os_buildflag_migration.py` (https://crrev.com/c/3311983).

[email protected]

Bug: 1234043
Test: No functionality change
Change-Id: I48c237e59b5c121f546e298051158e2f8a9cf527
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3388794
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: Nico Weber <[email protected]>
Cr-Commit-Position: refs/heads/main@{#959160}
diff --git a/components/page_info/core/features.cc b/components/page_info/core/features.cc
index 51863d6..f878f3ed 100644
--- a/components/page_info/core/features.cc
+++ b/components/page_info/core/features.cc
@@ -6,10 +6,11 @@
 
 #include "base/feature_list.h"
 #include "base/metrics/field_trial_params.h"
+#include "build/build_config.h"
 
 namespace page_info {
 
-#if defined(OS_ANDROID)
+#if BUILDFLAG(IS_ANDROID)
 const base::Feature kPageInfoHistory{"PageInfoHistory",
                                      base::FEATURE_ENABLED_BY_DEFAULT};
 const base::Feature kPageInfoStoreInfo{"PageInfoStoreInfo",
@@ -22,7 +23,7 @@
 const base::FeatureParam<bool> kShowSampleContent{&kPageInfoAboutThisSite,
                                                   "ShowSampleContent", true};
 
-#if !defined(OS_ANDROID)
+#if !BUILDFLAG(IS_ANDROID)
 const base::Feature kPageInfoHistoryDesktop{"PageInfoHistoryDesktop",
                                             base::FEATURE_DISABLED_BY_DEFAULT};
 #endif