[sql] Remove _HAS_EXCEPTIONS=0 from build info.
[chromium-blink-merge.git] / chrome / browser / net / cookie_store_util.h
blobdb9d4492ce5c67b16b4affe9ed5a89baa5a7894f
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 "base/memory/ref_counted.h"
9 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/cookie_store_factory.h"
12 class Profile;
14 namespace net {
15 class CookieMonsterDelegate;
16 } // namespace net
18 namespace chrome_browser_net {
20 // Factory method for creating a CookieStore delegate, taking a
21 // |next_cookie_monster_delegate| which may be NULL. This delegate is stateless
22 // so only one is necessary per profile.
23 net::CookieMonsterDelegate* CreateCookieDelegate(
24 scoped_refptr<net::CookieMonsterDelegate> next_cookie_monster_delegate);
26 // Factory method for returning a CookieCryptoDelegate if one is appropriate for
27 // this platform. The object returned is a LazyInstance. Ownership is not
28 // transferred.
29 net::CookieCryptoDelegate* GetCookieCryptoDelegate();
31 } // namespace chrome_browser_net
33 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_