// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Brought to you by number 42. #ifndef NET_COOKIES_COOKIE_STORE_H_ #define NET_COOKIES_COOKIE_STORE_H_ #include <stdint.h> #include <memory> #include <optional> #include <string> #include <vector> #include "base/functional/callback_forward.h" #include "net/base/net_export.h" #include "net/cookies/canonical_cookie.h" #include "net/cookies/cookie_access_delegate.h" #include "net/cookies/cookie_access_result.h" #include "net/cookies/cookie_deletion_info.h" #include "net/cookies/cookie_options.h" #include "net/cookies/cookie_partition_key_collection.h" class GURL; namespace net { class CookieChangeDispatcher; // An interface for storing and retrieving cookies. Implementations are not // thread safe, as with most other net classes. All methods must be invoked on // the network thread, and all callbacks will be called there. // // All async functions may either invoke the callback asynchronously, or they // may be invoked immediately (prior to return of the asynchronous function). // Destroying the CookieStore will cancel pending async callbacks. class NET_EXPORT CookieStore { … }; } // namespace net #endif // NET_COOKIES_COOKIE_STORE_H_