mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-27 21:39:15 +00:00
24 lines
808 B
Java
24 lines
808 B
Java
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
package org.mozilla.goanna.reading;
|
|
|
|
import java.util.Collection;
|
|
|
|
public interface ReadingListSynchronizerDelegate {
|
|
// Called on failure.
|
|
void onUnableToSync(Exception e);
|
|
|
|
// These are called sequentially, or not at all
|
|
// if a failure occurs.
|
|
void onDeletionsUploadComplete();
|
|
void onStatusUploadComplete(Collection<String> uploaded, Collection<String> failed);
|
|
void onNewItemUploadComplete(Collection<String> uploaded, Collection<String> failed);
|
|
void onDownloadComplete();
|
|
void onModifiedUploadComplete();
|
|
|
|
// If no failure occurred, called at the end.
|
|
void onComplete();
|
|
}
|