feat: support credit cards for chrome (#52)

This commit is contained in:
Cyrus
2020-12-08 21:52:17 -05:00
committed by ᴍᴏᴏɴD4ʀᴋ
parent eedafbacde
commit 5e6622720a
3 changed files with 131 additions and 4 deletions
+9 -4
View File
@@ -41,10 +41,11 @@ type Browser interface {
}
const (
cookie = "cookie"
history = "history"
bookmark = "bookmark"
password = "password"
cookie = "cookie"
history = "history"
bookmark = "bookmark"
password = "password"
creditcard = "creditcard"
)
var (
@@ -75,6 +76,10 @@ var (
mainFile: data.ChromePasswordFile,
newItem: data.NewCPasswords,
},
creditcard: {
mainFile: data.ChromeCreditFile,
newItem: data.NewCCards,
},
}
firefoxItems = map[string]struct {
mainFile string