forked from CinemaMod/java-cef
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCefCookieVisitor.java
More file actions
23 lines (20 loc) · 902 Bytes
/
CefCookieVisitor.java
File metadata and controls
23 lines (20 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
package org.cef.callback;
import org.cef.misc.BoolRef;
import org.cef.network.CefCookie;
/**
* Interface to implement for visiting cookie values. The methods of this class
* will always be called on the IO thread.
*/
public interface CefCookieVisitor {
/**
* Method that will be called once for each cookie. |count| is the 0-based
* index for the current cookie. |total| is the total number of cookies.
* Set |deleteCookie| to true to delete the cookie currently being visited.
* Return false to stop visiting cookies. This method may never be called if
* no cookies are found.
*/
public abstract boolean visit(CefCookie cookie, int count, int total, BoolRef delete);
}