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

Unified Diff: chrome/browser/web_applications/web_app_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
« no previous file with comments | « chrome/browser/ui/webui/voice_search_ui.cc ('k') | chrome/chrome_paks.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_unittest.cc
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index d88ed6b4778c3658d89c55c520ed6552cc16d574..70438618e6f4762c2038a099f1374f517e32420c 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -13,6 +13,7 @@
#include "chrome/common/render_messages.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "content/public/test/test_renderer_host.h"
+#include "extensions/features/features.h"
#include "testing/gtest/include/gtest/gtest.h"
#if defined(TOOLKIT_VIEWS)
@@ -56,7 +57,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
}
#endif
-#if defined(ENABLE_EXTENSIONS)
+#if BUILDFLAG(ENABLE_EXTENSIONS)
TEST_F(WebApplicationTest, AppDirWithId) {
base::FilePath profile_path(FILE_PATH_LITERAL("profile"));
base::FilePath result(
« no previous file with comments | « chrome/browser/ui/webui/voice_search_ui.cc ('k') | chrome/chrome_paks.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698