 
             let ready = SyncStateMachine.toReady(authState, prefs: syncPrefs)
 
-            let delegate = BrowserProfileSyncDelegate(app: app)
             let syncClients = curry(BrowserProfile.syncClientsToStorage)(storage, delegate, syncPrefs)
             let syncTabs = curry(BrowserProfile.syncTabsToStorage)(storage, delegate, syncPrefs)
 

    public func getClientsAndTabs() -> Deferred<Result<[ClientAndTabs]>> {
        log.info("Account is \(self.account), app is \(self.app)")

        if let account = self.account, app = self.app {
            log.debug("Fetching clients and tabs.")

            let authState = account.syncAuthState

            manager .URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)[0] as? NSURL
        let profilePath = url!.path!.stringByAppendingPathComponent(profileDirName)
        super.init(rootPath: profilePath)
    }
}

class CommandDiscardingSyncDelegate: SyncDelegate {
    func displaySentTabForURL(URL: NSURL, title: String) {
        // TODO: do something else.
        log.info("Discarding sent URL \(URL.absoluteString)")
    }
}

