Add expiration date to GERRIT_UI cookie

Adds an expiration date to the GERRIT_UI cookie so that it does not
default to a session cookie. Calculates two years from now, and uses
that because that is the same length as the cookie set by the link in
the footer of the gerrit site.

Bug: Issue 4999
Change-Id: I40e47f12c8e7a90593c9ca927582ad4d0ef5ad9c
1 file changed
tree: dde05529d0d9cf6e3a36e6b5944d850cbb3a482e
  1. .gitignore
  4. app_icon_512.png
  5. background.js
  6. content.js
  7. icon_19.png
  8. icon_38.png
  9. icon_active_19.png
  10. icon_active_38.png
  11. manifest.json
  12. options.html
  13. options.js


Chrome extension used to toggle PolyGerrit UI in Gerrit