Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: chrome/browser/ui/webui/log_web_ui_url_unittest.cc

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/log_web_ui_url_unittest.cc
diff --git a/chrome/browser/ui/webui/log_web_ui_url_unittest.cc b/chrome/browser/ui/webui/log_web_ui_url_unittest.cc
index d2210991599416702cfe17da4330ade46906880d..76a735fc102009b629c73d053534d8f29efd48e8 100644
--- a/chrome/browser/ui/webui/log_web_ui_url_unittest.cc
+++ b/chrome/browser/ui/webui/log_web_ui_url_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/webui/log_web_ui_url.h"
+#include "extensions/features/features.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
@@ -17,7 +18,7 @@ TEST(LogWebUIUrlTest, ValidUrls) {
// Developer tools scheme.
EXPECT_TRUE(webui::LogWebUIUrl(GURL("chrome-devtools://devtools")));
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
// Bookmarks Manager (the only currently allowed extension).
EXPECT_TRUE(webui::LogWebUIUrl(GURL(
"chrome-extension://eemcgdkfndhakfknompkggombfjjjeno")));
« no previous file with comments | « chrome/browser/ui/webui/log_web_ui_url_browsertest.cc ('k') | chrome/browser/ui/webui/net_internals/net_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698