mobile/android/tests/background/junit3/src/sync/helpers/SimpleSuccessCreationDelegate.java

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:a9ee496f400c
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
3
4 package org.mozilla.gecko.background.sync.helpers;
5
6 import org.mozilla.gecko.sync.repositories.delegates.RepositorySessionCreationDelegate;
7
8 public abstract class SimpleSuccessCreationDelegate extends DefaultDelegate implements RepositorySessionCreationDelegate {
9 @Override
10 public void onSessionCreateFailed(Exception ex) {
11 performNotify("Session creation failed", ex);
12 }
13
14 @Override
15 public RepositorySessionCreationDelegate deferredCreationDelegate() {
16 return this;
17 }
18 }

mercurial