fixup! fixup! Adding cookie flush store api
This commit is contained in:
parent
efca0a6e07
commit
fe88697348
1 changed files with 3 additions and 2 deletions
|
@ -180,8 +180,9 @@ void OnSetCookie(const Cookies::SetCallback& callback, bool success) {
|
|||
}
|
||||
|
||||
// Flushes cookie store in IO thread.
|
||||
void FlushCookieStoreOnIOThread(scoped_refptr<net::URLRequestContextGetter> getter,
|
||||
const base::Closure& callback) {
|
||||
void FlushCookieStoreOnIOThread(
|
||||
scoped_refptr<net::URLRequestContextGetter> getter,
|
||||
const base::Closure& callback) {
|
||||
GetCookieStore(getter)->FlushStore(base::Bind(RunCallbackInUI, callback));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue