Chromium Code Reviews| Index: chrome/browser/net/cookie_store_util.h |
| diff --git a/chrome/browser/net/cookie_store_util.h b/chrome/browser/net/cookie_store_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..89d050898eb637c34b50d33782940e7350bacad1 |
| --- /dev/null |
| +++ b/chrome/browser/net/cookie_store_util.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ |
| +#define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ |
| + |
| +#include "content/public/browser/browser_context.h" |
| +#include "content/public/browser/cookie_store_factory.h" |
| + |
| +class Profile; |
| + |
| +namespace net { |
| +class CookieMonsterDelegate; |
| +} // namespace net |
| + |
| +namespace chrome_browser_net { |
| + |
| +bool IsCookieRecordMode(); |
|
erikwright (departed)
2013/08/16 14:39:24
Please add comments describing these functions.
awong
2013/08/17 00:32:52
Done.
|
| +bool ShouldUseInMemoryCookiesAndCache(); |
| +void SetCookieStoreConfigs( |
| + const base::FilePath& partition_path, |
| + bool in_memory_partition, |
| + bool is_default_partition, |
| + content::CookieStoreConfig::SessionCookieMode session_cookie_mode, |
| + quota::SpecialStoragePolicy* storage_policy, |
| + net::CookieMonsterDelegate* cookie_delegate, |
| + content::BrowserContext::CookieSchemeMap* configs); |
| + |
| +net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile); |
| + |
| +} // namespace chrome_browser_net |
| + |
| +#endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ |