Bug 900694 - Part 1: add ProfileInformationCache.removeAddon. r=nalexander

This commit is contained in:
Richard Newman 2013-08-01 20:22:17 -07:00
Родитель 40ffe6f470
Коммит ff65ebe049
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -217,6 +217,10 @@ public class ProfileInformationCache implements ProfileInformationProvider {
addons.put(id, new JSONObject(json));
}
public void removeAddon(String id) {
addons.remove(id);
}
/**
* Will throw if you haven't done a full update at least once.
*/