Update browser.go

pull/52/head
Cyrus 5 years ago committed by GitHub
parent 877d8b0ea9
commit 25742c16e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      core/browser.go

@ -41,10 +41,11 @@ type Browser interface {
} }
const ( const (
cookie = "cookie" cookie = "cookie"
history = "history" history = "history"
bookmark = "bookmark" bookmark = "bookmark"
password = "password" password = "password"
creditcard = "creditcard"
) )
var ( var (
@ -75,6 +76,10 @@ var (
mainFile: data.ChromePasswordFile, mainFile: data.ChromePasswordFile,
newItem: data.NewCPasswords, newItem: data.NewCPasswords,
}, },
creditcard: {
mainFile: data.ChromeCreditFile,
newItem: data.NewCCards,
},
} }
firefoxItems = map[string]struct { firefoxItems = map[string]struct {
mainFile string mainFile string

Loading…
Cancel
Save