From 8fd08c6f2f8acd38579bd3142fecda9272957b72 Mon Sep 17 00:00:00 2001 From: Sammy Khamis Date: Thu, 27 Jun 2024 11:19:24 -1000 Subject: [PATCH] Remove Tabs.swift as no longer needed --- components/tabs/ios/Tabs/Tabs.swift | 34 ----------------------------- 1 file changed, 34 deletions(-) delete mode 100644 components/tabs/ios/Tabs/Tabs.swift diff --git a/components/tabs/ios/Tabs/Tabs.swift b/components/tabs/ios/Tabs/Tabs.swift deleted file mode 100644 index 1b977b70e1..0000000000 --- a/components/tabs/ios/Tabs/Tabs.swift +++ /dev/null @@ -1,34 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -import Foundation - -open class TabsStorage { - private var store: TabsStore - private let queue = DispatchQueue(label: "com.mozilla.tabs-storage") - - public init(databasePath: String) { - store = TabsStore(path: databasePath) - } - - /// Get all tabs by client. - open func getAll() -> [ClientRemoteTabs] { - return queue.sync { - self.store.getAll() - } - } - - /// Set the local tabs. - open func setLocalTabs(remoteTabs: [RemoteTabRecord]) { - queue.sync { - self.store.setLocalTabs(remoteTabs: remoteTabs) - } - } - - open func registerWithSyncManager() { - queue.sync { - self.store.registerWithSyncManager() - } - } -}