Ah, agreed, this case is a little different.

I am personally in favor of oninstall/onupdated hooks but feel lukewarm
about onuninstall (worried about abuse/annoyance).


On Wed, Nov 25, 2009 at 4:47 PM, dhw <[email protected]> wrote:

> 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 <[email protected]> wrote:
> > http://crbug.com/27938
> >
> > Star for updates.
> >
> >
> >
> > On Wed, Nov 25, 2009 at 10:50 AM, Lior Neudorfer <[email protected]>
> 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 <[email protected]> wrote:
> > > > On Tue, Nov 24, 2009 at 7:01 PM, Raymond Lee
> >
> > > > <[email protected]> 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
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<chromium-extensions%[email protected]><chromium-extensions%2Bunsu
> [email protected]>
> > > .
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to