Files
vadims 2b585f0c4b [PSST] Add website settings support (#31348)
Added saving of the PSST settings with using of the website settings, it allows
to save the PSST settings when user accepts the consent dialog and read it when
we need it in the web contents observer. 

Resolves: https://github.com/brave/brave-browser/issues/49309

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-12-09 11:17:09 +01:00

54 lines
1.1 KiB
Plaintext

# Copyright (c) 2023 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/.
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/json_schema_compiler/json_schema_api.gni")
mojom("mojom") {
sources = [ "psst_ui_common.mojom" ]
public_deps = [ "//mojo/public/mojom/base" ]
}
static_library("common") {
public = [
"constants.h",
"features.h",
"pref_names.h",
]
sources = [
"features.cc",
"pref_names.cc",
]
public_deps = [
":mojom",
":psst_metadata_schema",
":psst_script_responses",
]
deps = [
"//base",
"//components/pref_registry",
"//components/prefs",
"//url",
]
}
generated_types("psst_script_responses") {
sources = [ "psst_script_responses.idl" ]
root_namespace = "psst"
deps = [ "//base" ]
visibility = [ ":common" ]
}
generated_types("psst_metadata_schema") {
sources = [ "psst_metadata_schema.idl" ]
root_namespace = "psst"
deps = [ "//base" ]
visibility = [ ":common" ]
}