DescriptionRefactored cookies persistent store clean-up on shutdown.
Changed the static call of SQLitePersistantCookieStore::ClearLocalState to
a call of a virtual method PersistantCookieStore::ClearLocalState from
inside the destruction sequence of the owning UrlRequestContext.
Thus the code will now work with any other persistancy implementation and
allow for better parallelism.
To test. Enable deleting of cookies and user data on shutdown and check if
the Cookies file in the profile directory has been deleted.
BUG=64920
TEST=Manual.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68343
Patch Set 1 #Patch Set 2 : Whitespace fix. #
Total comments: 19
Patch Set 3 : Added unit test and moved flag to the persistence store itself. #
Total comments: 34
Patch Set 4 : Style fixes. #
Total comments: 24
Patch Set 5 : This is how the patch looks like applied on top of http://codereview.chromium.org/5610003/ . #Patch Set 6 : Tiny style fixes. #
Total comments: 2
Patch Set 7 : Lock protected the clear on exit flag. #
Messages
Total messages: 14 (0 generated)
|