Bug 676110 - Part 1: IDL changes for mozIVisitInfoCallback::handleCompletion. r=mak sr=rstrong
authorPhilipp von Weitershausen <philipp@weitershausen.de>
Fri, 19 Aug 2011 10:11:20 -0700
changeset 75720 361251a52012e8623c12468870a992996aa37b38
parent 75719 ca3a6de3a37ec8de2b89f1f60c2c3d7056d3853e
child 75721 ba8de1dee071c2cb926f7b618910b1b6ba16d58b
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersmak, rstrong
bugs676110
milestone9.0a1
Bug 676110 - Part 1: IDL changes for mozIVisitInfoCallback::handleCompletion. r=mak sr=rstrong
toolkit/components/places/mozIAsyncHistory.idl
--- a/toolkit/components/places/mozIAsyncHistory.idl
+++ b/toolkit/components/places/mozIAsyncHistory.idl
@@ -117,17 +117,17 @@ interface mozIPlaceInfo : nsISupports
    */
   [implicit_jscontext]
   readonly attribute jsval visits;
 };
 
 /**
  * @status EXPERIMENTAL
  */
-[scriptable, uuid(eb0b406f-8f57-4f2b-b0da-8883684b138a)]
+[scriptable, uuid(1f266877-2859-418b-a11b-ec3ae4f4f93d)]
 interface mozIVisitInfoCallback : nsISupports
 {
   /**
    * Called when the given mozIPlaceInfo object could not be processed.
    *
    * @param aResultCode
    *        nsresult indicating the failure reason.
    * @param aPlaceInfo
@@ -142,16 +142,22 @@ interface mozIVisitInfoCallback : nsISup
    * a given visit, only one callback will be given (i.e. title change and 
    * add visit).
    *
    * @param aPlaceInfo
    *        The information that was being entered into the database.
    */
   void handleResult(in mozIPlaceInfo aPlaceInfo);
 
+  /**
+   * Called when the mozIAsyncHistory::updatePlaces has finished processing
+   * all mozIPlaceInfo records.
+   */
+  void handleCompletion();
+
 };
 
 /**
  * @status EXPERIMENTAL
  */
 [scriptable, uuid(f79ca67c-7e57-4511-a400-ea31001c762f)]
 interface mozIAsyncHistory : nsISupports
 {