CookieStore
is a datatype (think of it as a class) returned by other chrome.cookie
methods.
More specifically, only one method, chrome.cookies.getAllCookieStores
:
chrome.cookies.getAllCookieStores(function callback)
Lists all existing cookie stores.
Parameters
function
callback
The callback parameter should be a function that looks like this:function(array of CookieStore cookieStores) {...};
Note that changing the object passed to your callback does not actually affect anything. It's purely informational, and you can't pass it to any API function (but you can use the id
parameter in other calls)