Repository: xbmc/xbmc
File: xbmc/FileItem.h (C/C++)

Code before:
  const KODI::UTILS::CLockInfo& GetLockInfo() const { return m_lockInfo; }

  void SetCueDocument(const std::shared_ptr<CCueDocument>& cuePtr);
  void LoadEmbeddedCue();
  bool HasCueDocument() const;
  bool LoadTracksFromCueDocument(CFileItemList& scannedItems);

private:
  /*! \brief Recalculate item's MIME type if it is not set or is set to "application/octet-stream".
   Resolve the MIME type based on file extension or a web lookup.
   \sa FillInMimeType
   */
  void UpdateMimeType(bool lookup = true);

  /*!
   \brief Return the current resume point for this item.
   \return The resume point.
   */
  CBookmark GetResumePoint() const;

  /*!
   \brief Fill item's music tag from given epg tag.
   */
  void FillMusicInfoTag(const std::shared_ptr<const PVR::CPVREpgInfoTag>& tag);

  mutable std::optional<CURL> m_curlPath;
  mutable std::optional<CURL> m_curlDynPath;
  std::string m_strPath;            ///< complete path to item
  std::string m_strDynPath;

  bool m_bIsShareOrDrive{false}; ///< is this a root share/drive
  /// If \e m_bIsShareOrDrive is \e true, use to get the share type.
  /// Types see: CMediaSource::m_iDriveType
  SourceType m_iDriveType{SourceType::UNKNOWN};
  CDateTime m_dateTime; ///< file creation date & time
  int64_t m_dwSize{0}; ///< file size (0 for folders)
  std::string m_strDVDLabel;
  std::string m_strTitle;
  int m_programCount{0};
  int m_depth{1};
  int m_lStartPartNumber{1};
  KODI::UTILS::CLockInfo m_lockInfo;
  SortSpecial m_specialSort{SortSpecialNone};
  bool m_bIsParentFolder{false};
  bool m_bCanQueue{true};
  bool m_bLabelPreformatted{false};
  std::string m_mimetype;
  std::string m_extrainfo;
  bool m_doContentLookup{true};
  MUSIC_INFO::CMusicInfoTag* m_musicInfoTag{nullptr};
  CVideoInfoTag* m_videoInfoTag{nullptr};

Review comment (suggestion):
May I suggest to rename the member to `m_urlPath` (omit the 'c') - reading the current name I was immediately thinking about a relationship to `libcurl` here...

Code after:

  void SetCueDocument(const std::shared_ptr<CCueDocument>& cuePtr);
  void LoadEmbeddedCue();
  bool HasCueDocument() const;
  bool LoadTracksFromCueDocument(CFileItemList& scannedItems);

private:
  /*! \brief Recalculate item's MIME type if it is not set or is set to "application/octet-stream".
   Resolve the MIME type based on file extension or a web lookup.
   \sa FillInMimeType
   */
  void UpdateMimeType(bool lookup = true);

  /*!
   \brief Return the current resume point for this item.
   \return The resume point.
   */
  CBookmark GetResumePoint() const;

  /*!
   \brief Fill item's music tag from given epg tag.
   */
  void FillMusicInfoTag(const std::shared_ptr<const PVR::CPVREpgInfoTag>& tag);

  mutable std::optional<CURL> m_urlPath;
  mutable std::optional<CURL> m_urlDynPath;
  std::string m_strPath;            ///< complete path to item
  std::string m_strDynPath;

  bool m_bIsShareOrDrive{false}; ///< is this a root share/drive
  /// If \e m_bIsShareOrDrive is \e true, use to get the share type.
  /// Types see: CMediaSource::m_iDriveType
  SourceType m_iDriveType{SourceType::UNKNOWN};
  CDateTime m_dateTime; ///< file creation date & time
  int64_t m_dwSize{0}; ///< file size (0 for folders)
  std::string m_strDVDLabel;
  std::string m_strTitle;
  int m_programCount{0};
  int m_depth{1};
  int m_lStartPartNumber{1};
  KODI::UTILS::CLockInfo m_lockInfo;
  SortSpecial m_specialSort{SortSpecialNone};
  bool m_bIsParentFolder{false};
  bool m_bCanQueue{true};
  bool m_bLabelPreformatted{false};
  std::string m_mimetype;
  std::string m_extrainfo;
  bool m_doContentLookup{true};
  MUSIC_INFO::CMusicInfoTag* m_musicInfoTag{nullptr};
  CVideoInfoTag* m_videoInfoTag{nullptr};
  std::shared_ptr<PVR::CPVREpgInfoTag> m_epgInfoTag;