<chrisccoulson> The kind of API I'd like to see is something like clearSiteData(flags, origin, time), where flags is a bitwise OR of things like app cache, cookies, local storage etc and time specifies how far back in history to delete
<chrisccoulson> although, specifying an origin probably wouldn't be appropriate for all types of storage
<chrisccoulson> It would also need a way for an application to track progress - ie, clearSiteData() would return an object with a completed signal or something
<chrisccoulson> Of course, my API idea might not make sense either - particularly if there are lots of storage types in Chromium that we don't have such control over
From IRC discussion today:
<chrisccoulson> The kind of API I'd like to see is something like clearSiteData( flags, origin, time), where flags is a bitwise OR of things like app cache, cookies, local storage etc and time specifies how far back in history to delete
<chrisccoulson> although, specifying an origin probably wouldn't be appropriate for all types of storage
<chrisccoulson> It would also need a way for an application to track progress - ie, clearSiteData() would return an object with a completed signal or something
<chrisccoulson> Of course, my API idea might not make sense either - particularly if there are lots of storage types in Chromium that we don't have such control over