michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.background.bagheera; michael@0: michael@0: import ch.boye.httpclientandroidlib.HttpResponse; michael@0: michael@0: public interface BagheeraRequestDelegate { michael@0: void handleSuccess(int status, String namespace, String id, HttpResponse response); michael@0: void handleError(Exception e); michael@0: void handleFailure(int status, String namespace, HttpResponse response); michael@0: michael@0: public String getUserAgent(); michael@0: }