Index: chrome/browser/ui/webui/cookies_tree_model_util.cc |
diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc |
index 51d4b6ab6071a0171a94282b397d362c2d6454ba..0559445f065e050ca8cf70a55fb4c6bd1b1dc3c1 100644 |
--- a/chrome/browser/ui/webui/cookies_tree_model_util.cc |
+++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc |
@@ -20,12 +20,13 @@ |
#include "content/public/browser/cache_storage_context.h" |
#include "content/public/browser/indexed_db_context.h" |
#include "content/public/browser/service_worker_context.h" |
+#include "extensions/features/features.h" |
#include "net/cookies/canonical_cookie.h" |
#include "storage/common/fileapi/file_system_types.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/text/bytes_formatting.h" |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "extensions/common/extension_set.h" |
#endif |
@@ -37,7 +38,7 @@ const char kKeyIcon[] = "icon"; |
const char kKeyType[] = "type"; |
const char kKeyHasChildren[] = "hasChildren"; |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
const char kKeyAppsProtectingThis[] = "appsProtectingThis"; |
#endif |
const char kKeyName[] = "name"; |
@@ -319,7 +320,7 @@ bool CookiesTreeModelUtil::GetCookieTreeNodeDictionary( |
break; |
} |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
const extensions::ExtensionSet* protecting_apps = |
node.GetModel()->ExtensionsProtectingNode(node); |
if (protecting_apps && !protecting_apps->is_empty()) { |