From 353ba555694143f2f1ad80249ddd606509ec0422 Mon Sep 17 00:00:00 2001 From: Aleksey Seren Date: Mon, 27 Feb 2023 14:59:04 -0500 Subject: [PATCH] Move dom_distiller_switches include into chrome_main_delegate.cc. --- app/DEPS | 1 - app/brave_main_delegate.cc | 1 - chromium_src/chrome/app/BUILD.gn | 1 + chromium_src/chrome/app/DEPS | 1 + chromium_src/chrome/app/chrome_main_delegate.cc | 1 + 5 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/DEPS b/app/DEPS index cd14d0934dda..59cadf9818bb 100644 --- a/app/DEPS +++ b/app/DEPS @@ -28,7 +28,6 @@ include_rules = [ "+components/sync/base/command_line_switches.h", "+components/translate/core/browser/translate_prefs.h", "+components/variations/variations_switches.h", - "+components/dom_distiller/core/dom_distiller_switches.h", "+google_apis/gaia", "+gpu/config", "+media/base/media_switches.h", diff --git a/app/brave_main_delegate.cc b/app/brave_main_delegate.cc index 53f425707f9f..a3afbc159be9 100644 --- a/app/brave_main_delegate.cc +++ b/app/brave_main_delegate.cc @@ -29,7 +29,6 @@ #include "chrome/common/chrome_paths_internal.h" #include "chrome/common/chrome_switches.h" #include "components/component_updater/component_updater_switches.h" -#include "components/dom_distiller/core/dom_distiller_switches.h" #include "components/embedder_support/switches.h" #include "components/sync/base/command_line_switches.h" #include "components/variations/variations_switches.h" diff --git a/chromium_src/chrome/app/BUILD.gn b/chromium_src/chrome/app/BUILD.gn index 8c84d523038a..83ad81f582c0 100644 --- a/chromium_src/chrome/app/BUILD.gn +++ b/chromium_src/chrome/app/BUILD.gn @@ -6,6 +6,7 @@ group("app") { deps = [ "//brave/components/update_client:buildflags", + "//components/dom_distiller/content/browser", "//google_apis", "//media", ] diff --git a/chromium_src/chrome/app/DEPS b/chromium_src/chrome/app/DEPS index a5120c9cdd35..ca4730af0363 100644 --- a/chromium_src/chrome/app/DEPS +++ b/chromium_src/chrome/app/DEPS @@ -11,6 +11,7 @@ specific_include_rules = { "+brave/build/android/jni_headers/BraveQAPreferences_jni.h", "+brave/components/brave_sync/buildflags.h", "+brave/components/variations/buildflags.h", + "+components/dom_distiller/core/dom_distiller_switches.h", "+components/signin/public/base/account_consistency_method.h", "+components/sync/base/command_line_switches.h", ], diff --git a/chromium_src/chrome/app/chrome_main_delegate.cc b/chromium_src/chrome/app/chrome_main_delegate.cc index 0625d8b3023b..653900af06cf 100644 --- a/chromium_src/chrome/app/chrome_main_delegate.cc +++ b/chromium_src/chrome/app/chrome_main_delegate.cc @@ -10,6 +10,7 @@ #include "brave/components/brave_sync/buildflags.h" #include "brave/components/variations/buildflags.h" #include "build/build_config.h" +#include "components/dom_distiller/core/dom_distiller_switches.h" #include "components/sync/base/command_line_switches.h" #if BUILDFLAG(IS_ANDROID)