Bug 1735097 - Geolocation: use EpochTimeStamp instead of DOMTimeStamp r=saschanaz...
[gecko.git] / toolkit / components / places / VisitInfo.h
blobd9e26697eb9a75413c4c0dc820613a013850dec4
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_places_VisitInfo_h__
6 #define mozilla_places_VisitInfo_h__
8 #include "mozIAsyncHistory.h"
9 #include "mozilla/Attributes.h"
11 class nsIURI;
13 namespace mozilla {
14 namespace places {
16 class VisitInfo final : public mozIVisitInfo {
17 public:
18 NS_DECL_ISUPPORTS
19 NS_DECL_MOZIVISITINFO
21 VisitInfo(int64_t aVisitId, PRTime aVisitDate, uint32_t aTransitionType,
22 already_AddRefed<nsIURI> aReferrer);
24 private:
25 ~VisitInfo();
26 const int64_t mVisitId;
27 const PRTime mVisitDate;
28 const uint32_t mTransitionType;
29 nsCOMPtr<nsIURI> mReferrer;
32 } // namespace places
33 } // namespace mozilla
35 #endif // mozilla_places_VisitInfo_h__