B2G/gaia/apps/communications/dialer/js/call_log_db.js
/**
   * We store a revision number for the contacts data local cache that we need
   * to keep synced with the Contacts API database.
   * This method stores the revision of the Contacts API database and it will
   * be called after refresing the local cache because of a contact updated, a
   * contact deletion or a cache sync.
   */
We store a revision number for the contacts data local cache that we need
to keep synced with the Contacts API database.
This method stores the revision of the Contacts API database and it will
be called after refresing the local cache because of a contact updated, a
contact deletion or a cache sync.
We store a revision number for the contacts data local cache that we need to keep synced with the Contacts API database . This method stores the revision of the Contacts API database and it will be called after refresing the local cache because of a contact updated a contact deletion or a cache sync .
function _updateCacheRevision() {
    Contacts.getRevision(function(contactsRevision) {
      if (contactsRevision) {
        window.asyncStorage.setItem('contactCacheRevision',
                                    contactsRevision);
      }
    });
  }
function _updateCacheRevision ( ) { Contacts . getRevision ( function ( contactsRevision ) { if ( contactsRevision ) { window . asyncStorage . setItem ( 'contactCacheRevision' , contactsRevision ) ; } } ) ; }
We store a revision number for the contacts data local cache that we need
 to keep synced with the Contacts API database.
We store a revision number for the contacts data local cache that we need to keep synced with the Contacts API database .