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.sync.middleware; michael@0: michael@0: import org.mozilla.gecko.sync.repositories.Repository; michael@0: import org.mozilla.gecko.sync.repositories.delegates.RepositorySessionCreationDelegate; michael@0: michael@0: public abstract class MiddlewareRepository extends Repository { michael@0: michael@0: public abstract class SessionCreationDelegate implements michael@0: RepositorySessionCreationDelegate { michael@0: michael@0: // We call through to our inner repository, so we don't need our own michael@0: // deferral scheme. michael@0: @Override michael@0: public RepositorySessionCreationDelegate deferredCreationDelegate() { michael@0: return this; michael@0: } michael@0: } michael@0: }