Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | |
| 6 #define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | |
| 7 | |
| 8 #include "content/public/browser/browser_context.h" | |
| 9 #include "content/public/browser/cookie_store_factory.h" | |
| 10 | |
| 11 class Profile; | |
| 12 | |
| 13 namespace net { | |
| 14 class CookieMonsterDelegate; | |
| 15 } // namespace net | |
| 16 | |
| 17 namespace chrome_browser_net { | |
| 18 | |
| 19 bool IsCookieRecordMode(); | |
|
erikwright (departed)
2013/08/16 14:39:24
Please add comments describing these functions.
awong
2013/08/17 00:32:52
Done.
| |
| 20 bool ShouldUseInMemoryCookiesAndCache(); | |
| 21 void SetCookieStoreConfigs( | |
| 22 const base::FilePath& partition_path, | |
| 23 bool in_memory_partition, | |
| 24 bool is_default_partition, | |
| 25 content::CookieStoreConfig::SessionCookieMode session_cookie_mode, | |
| 26 quota::SpecialStoragePolicy* storage_policy, | |
| 27 net::CookieMonsterDelegate* cookie_delegate, | |
| 28 content::BrowserContext::CookieSchemeMap* configs); | |
| 29 | |
| 30 net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile); | |
| 31 | |
| 32 } // namespace chrome_browser_net | |
| 33 | |
| 34 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ | |
| OLD | NEW |