user_note_target.cc 666 B

1234567891011121314151617181920
  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/user_notes/model/user_note_target.h"
  5. namespace user_notes {
  6. UserNoteTarget::UserNoteTarget(TargetType type,
  7. const std::u16string& original_text,
  8. GURL target_page,
  9. const std::string& selector)
  10. : type_(type),
  11. original_text_(original_text),
  12. target_page_(target_page),
  13. selector_(selector) {}
  14. UserNoteTarget::~UserNoteTarget() = default;
  15. } // namespace user_notes