michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: package org.mozilla.gecko.background.sync.helpers; michael@0: michael@0: import java.util.concurrent.ExecutorService; michael@0: michael@0: import org.mozilla.gecko.sync.repositories.delegates.RepositorySessionStoreDelegate; michael@0: michael@0: public abstract class SimpleSuccessStoreDelegate extends DefaultDelegate implements RepositorySessionStoreDelegate { michael@0: @Override michael@0: public void onRecordStoreFailed(Exception ex, String guid) { michael@0: performNotify("Store failed", ex); michael@0: } michael@0: michael@0: @Override michael@0: public RepositorySessionStoreDelegate deferredStoreDelegate(ExecutorService executor) { michael@0: return this; michael@0: } michael@0: }