user_note_model_test_utils.h 877 B

123456789101112131415161718192021222324
  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. #ifndef COMPONENTS_USER_NOTES_MODEL_USER_NOTE_MODEL_TEST_UTILS_H_
  5. #define COMPONENTS_USER_NOTES_MODEL_USER_NOTE_MODEL_TEST_UTILS_H_
  6. #include "base/time/time.h"
  7. #include "components/user_notes/model/user_note_body.h"
  8. #include "components/user_notes/model/user_note_metadata.h"
  9. #include "components/user_notes/model/user_note_target.h"
  10. namespace user_notes {
  11. extern std::unique_ptr<UserNoteMetadata> GetTestUserNoteMetadata();
  12. extern std::unique_ptr<UserNoteBody> GetTestUserNoteBody();
  13. extern std::unique_ptr<UserNoteTarget> GetTestUserNotePageTarget(
  14. const std::string& url = "https://www.example.com");
  15. } // namespace user_notes
  16. #endif // COMPONENTS_USER_NOTES_MODEL_USER_NOTE_MODEL_TEST_UTILS_H_