Skip to content

Commit

Permalink
Address Web Discovery feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Oct 25, 2024
1 parent 2f7eded commit 5b90bd3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions browser/extensions/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ source_set("extensions") {
"api/rewards_notifications_api.h",
"api/settings_private/brave_prefs_util.cc",
"api/settings_private/brave_prefs_util.h",
"api/web_discovery_api.cc",
"api/web_discovery_api.h",
"brave_extension_management.cc",
"brave_extension_management.h",
"brave_extension_provider.cc",
Expand Down
2 changes: 0 additions & 2 deletions browser/extensions/api/settings_private/brave_prefs_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
#include "brave/components/speedreader/common/buildflags/buildflags.h"
#include "brave/components/tor/buildflags/buildflags.h"
#include "brave/components/web_discovery/buildflags/buildflags.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util.h"
#include "chrome/common/extensions/api/settings_private.h"
#include "chrome/common/pref_names.h"
Expand Down
1 change: 1 addition & 0 deletions browser/web_discovery/web_discovery_service_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ WebDiscoveryServiceFactory::WebDiscoveryServiceFactory()

WebDiscoveryServiceFactory::~WebDiscoveryServiceFactory() = default;

// static
ProfileSelections WebDiscoveryServiceFactory::CreateProfileSelections() {
if (!base::FeatureList::IsEnabled(features::kBraveWebDiscoveryNative)) {
return ProfileSelections::BuildNoProfilesSelected();
Expand Down
6 changes: 3 additions & 3 deletions components/constants/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ source_set("constants") {
"webui_url_constants.h",
]

public_deps = [ ":brave_services_key" ]
deps = [
"//base",
public_deps = [
":brave_services_key",
"//brave/components/web_discovery/buildflags",
"//extensions/buildflags",
]
deps = [ "//base" ]
}

source_set("brave_service_key_helper") {
Expand Down
1 change: 1 addition & 0 deletions components/web_discovery/browser/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include_rules = [
"-content",
"+services/network/public",
"+extensions/buildflags/buildflags.h",
"+services/network/test",
"+services/service_manager/public/cpp",
"+third_party/re2",
"+third_party/zlib",
Expand Down

0 comments on commit 5b90bd3

Please sign in to comment.