| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | 5 #ifndef COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_ |
| 6 #define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | 6 #define COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_ |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 #include "content/public/browser/browser_context.h" | |
| 10 #include "content/public/browser/cookie_store_factory.h" | |
| 11 | |
| 12 class Profile; | |
| 13 | 7 |
| 14 namespace net { | 8 namespace net { |
| 15 class CookieMonsterDelegate; | 9 class CookieCryptoDelegate; |
| 16 } // namespace net | 10 } // namespace net |
| 17 | 11 |
| 18 namespace chrome_browser_net { | 12 namespace cookie_config { |
| 19 | 13 |
| 20 // Factory method for returning a CookieCryptoDelegate if one is appropriate for | 14 // Factory method for returning a CookieCryptoDelegate if one is appropriate for |
| 21 // this platform. The object returned is a LazyInstance. Ownership is not | 15 // this platform. The object returned is a LazyInstance. Ownership is not |
| 22 // transferred. | 16 // transferred. |
| 23 net::CookieCryptoDelegate* GetCookieCryptoDelegate(); | 17 net::CookieCryptoDelegate* GetCookieCryptoDelegate(); |
| 24 | 18 |
| 25 } // namespace chrome_browser_net | 19 } // namespace cookie_config |
| 26 | 20 |
| 27 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | 21 #endif // COMPONENTS_COOKIE_CONFIG_COOKIE_STORE_UTIL_H_ |
| OLD | NEW |