registration.cc 652 B

1234567891011121314151617181920
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "weblayer/browser/component_updater/registration.h"
  5. #include "weblayer/browser/component_updater/client_side_phishing_component_loader_policy.h"
  6. namespace weblayer {
  7. component_updater::ComponentLoaderPolicyVector GetComponentLoaderPolicies() {
  8. component_updater::ComponentLoaderPolicyVector policies;
  9. LoadClientSidePhishingComponent(policies);
  10. // TODO(crbug.com/1233490) register AutoFillRegex component loader policy.
  11. return policies;
  12. }
  13. } // namespace weblayer