Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / net / cookie_store_util.h
blobb4b60ff19550caf4551d70d02784194a3a25ed29
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"
11 class Profile;
13 namespace net {
14 class CookieMonsterDelegate;
15 } // namespace net
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
26 // transferred.
27 net::CookieCryptoDelegate* GetCookieCryptoDelegate();
29 } // namespace chrome_browser_net
31 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_