1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

android_webview / browser / component_updater / registration.cc [blame]

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "android_webview/browser/component_updater/registration.h"

#include "android_webview/browser/component_updater/first_party_sets_component_loader.h"
#include "android_webview/browser/component_updater/masked_domain_list_component_loader.h"
#include "android_webview/browser/component_updater/origin_trials_component_loader.h"
#include "android_webview/browser/component_updater/tpcd_metadata_component_loader.h"
#include "android_webview/browser/component_updater/trust_token_key_commitments_component_loader.h"
#include "android_webview/browser/metrics/aw_metrics_service_client.h"

namespace android_webview {

component_updater::ComponentLoaderPolicyVector GetComponentLoaderPolicies() {
  component_updater::ComponentLoaderPolicyVector policies;
  LoadFpsComponent(policies);
  LoadTrustTokenKeyCommitmentsComponent(policies);
  LoadMaskedDomainListComponent(policies);
  LoadOriginTrialsComponent(policies);
  LoadTpcMetadataComponent(policies);
  return policies;
}

}  // namespace android_webview