1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
6 #define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
8 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/cookie_store_factory.h"
14 class CookieMonsterDelegate
;
17 namespace chrome_browser_net
{
19 // Factory method for creating a CookieStore delegate that sends
20 // chrome::NOTIFICATION_COOKIE_CHANGED for the given profile. This
21 // delegate is stateless so only one is necessary per profile.
22 net::CookieMonsterDelegate
* CreateCookieDelegate(Profile
* profile
);
24 // Factory method for returning a CookieCryptoDelegate if one is appropriate for
25 // this platform. The object returned is a LazyInstance. Ownership is not
27 net::CookieCryptoDelegate
* GetCookieCryptoDelegate();
29 } // namespace chrome_browser_net
31 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_