input_context.cc 591 B

123456789101112131415161718
  1. // Copyright 2022 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 "components/segmentation_platform/public/input_context.h"
  5. #include "components/segmentation_platform/public/trigger_context.h"
  6. namespace segmentation_platform {
  7. InputContext::InputContext() = default;
  8. InputContext::InputContext(const TriggerContext& trigger_context)
  9. : metadata_args(trigger_context.GetSelectionInputArgs()) {}
  10. InputContext::~InputContext() = default;
  11. } // namespace segmentation_platform