michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_places_VisitInfo_h__ michael@0: #define mozilla_places_VisitInfo_h__ michael@0: michael@0: #include "mozIAsyncHistory.h" michael@0: #include "nsAutoPtr.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: class nsIURI; michael@0: michael@0: namespace mozilla { michael@0: namespace places { michael@0: michael@0: class VisitInfo MOZ_FINAL : public mozIVisitInfo michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_MOZIVISITINFO michael@0: michael@0: VisitInfo(int64_t aVisitId, PRTime aVisitDate, uint32_t aTransitionType, michael@0: already_AddRefed aReferrer); michael@0: michael@0: private: michael@0: const int64_t mVisitId; michael@0: const PRTime mVisitDate; michael@0: const uint32_t mTransitionType; michael@0: nsCOMPtr mReferrer; michael@0: }; michael@0: michael@0: } // namespace places michael@0: } // namespace mozilla michael@0: michael@0: #endif // mozilla_places_VisitInfo_h__