Except that http://crbug.com/27938 seems to be going the route of displaying a prompt that let's the user decide whether to remove LocalStorage data on extension uninstall.
The original poster wants a method that is guaranteed to remove the LocalStorage data and well as delete data from a SQLite database. That's why Aaron suggested needing oninstall and onuninstall hooks. I think the requirement here is different from http://crbug.com/27938 On Nov 25, 2:44 pm, Antony Sargent <asarg...@chromium.org> wrote: > http://crbug.com/27938 > > Star for updates. > > > > On Wed, Nov 25, 2009 at 10:50 AM, Lior Neudorfer <lio...@gmail.com> wrote: > > This is important - for example, if an extension's local data is > > somehow corrupted, a re-installation should be able to solve the > > problem. > > > On Nov 25, 6:23 pm, Aaron Boodman <a...@google.com> wrote: > > > On Tue, Nov 24, 2009 at 7:01 PM, Raymond Lee > > > > <raymondlee...@googlemail.com> wrote: > > > > I use a sqlite database and local storage to store data and settings > > > > in my extension. I would like to remove both the database and local > > > > storage for my extension when user uninstalls it, therefore, when the > > > > user installs the same extension again, he wouldn't see the old > > > > settings and the extension would try him as a new user to show a > > > > welcome page. Is it possible to do that? > > > > I can't think of any way to do that. We need to add oninstall and > > > onuninstall hooks. > > > > - a > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Chromium-extensions" group. > > To post to this group, send email to chromium-extensi...@googlegroups.com. > > To unsubscribe from this group, send email to > > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2Bunsu > > bscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/chromium-extensions?hl=en. -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.