Delete Incognito profile cookies immediately after notification
commit356986740cd4bff6fa9e5c04a95636fdf264e7c5
authordfalcantara <dfalcantara@chromium.org>
Wed, 14 Jan 2015 02:16:43 +0000 (13 18:16 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Jan 2015 02:17:28 +0000 (14 02:17 +0000)
tree3f86396b350dacd0057b0923d9dc11fd7b94bab4
parent50ccaed720664a2b254706231b7d227cc0ff7ae7
Delete Incognito profile cookies immediately after notification

Immediately deletes the Incognito profile's cookies from the cookie
jar as soon as Profile is notified that a profile has been deleted.
The CookiesFetcher will confirm the incognito profile is missing,
then schedule them for deletion.

Also does general cleaning and renaming to less confusing method names.

BUG=447267

Review URL: https://codereview.chromium.org/833533004

Cr-Commit-Position: refs/heads/master@{#311393}
chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java
chrome/android/java/src/org/chromium/chrome/browser/profiles/Profile.java
chrome/browser/android/cookies/cookies_fetcher.cc
chrome/browser/android/cookies/cookies_fetcher.h