Places/AsyncAPIsForSync: Difference between revisions

Jump to navigation Jump to search
→‎Detailed Proposal: Address feedback
(→‎Detailed Proposal: Address feedback)
Line 326: Line 326:
   readonly PRTime date;
   readonly PRTime date;
   readonly long transitionType;
   readonly long transitionType;
  readonly nsIURI referrer;
  readonly long long sessionId;
  }
  }


Line 363: Line 365:
   *        Information about the place to add.
   *        Information about the place to add.
   * @param [optional] aCallback
   * @param [optional] aCallback
   *        Callback to be notified.
   *        Callback to be notified for each visit.
   */
   */
  void updatePlaceAndAddVisits(in nsIPlaceInfo aPlaceInfo,
  void updatePlace(in nsIPlaceInfo aPlaceInfo,
                              [optional] in nsIVisitInfoCallback aCallback);
                  [optional] in nsIVisitInfoCallback aCallback);




Line 377: Line 379:
   *        The number of aPlaceInfos.
   *        The number of aPlaceInfos.
   * @param [optional] aCallback
   * @param [optional] aCallback
   *        Callback to be notified.
   *        Callback to be notified for each visit.
   */
   */
  void updatePlacesAndAddVisits([array, size_is(aPlaces)] in nsIPlaceInfo aPlaceInfos,
  void updatePlaces([array, size_is(aPlaces)] in nsIPlaceInfo aPlaceInfos,
                              in unsigned long aPlaces,
                  in unsigned long aPlaces,
                              [optional] in nsIVisitInfoCallback aCallback);
                  [optional] in nsIVisitInfoCallback aCallback);


== Notes and feedback on Proposal ==
== Notes and feedback on Proposal ==
590

edits

Navigation menu