|
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.Repository; |
|
7 import org.mozilla.gecko.sync.repositories.delegates.RepositorySessionCleanDelegate; |
|
8 |
|
9 public class DefaultCleanDelegate extends DefaultDelegate implements RepositorySessionCleanDelegate { |
|
10 |
|
11 @Override |
|
12 public void onCleaned(Repository repo) { |
|
13 performNotify("Default begin delegate hit.", null); |
|
14 } |
|
15 |
|
16 @Override |
|
17 public void onCleanFailed(Repository repo, Exception ex) { |
|
18 performNotify("Clean failed.", ex); |
|
19 } |
|
20 |
|
21 } |