Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: chrome/browser/net/cookie_store_util.h

Issue 1008723006: Remove HTTP cache Record/Playback support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
6 #define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ 6 #define CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
7 7
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/cookie_store_factory.h" 9 #include "content/public/browser/cookie_store_factory.h"
10 10
11 class Profile; 11 class Profile;
12 12
13 namespace net { 13 namespace net {
14 class CookieMonsterDelegate; 14 class CookieMonsterDelegate;
15 } // namespace net 15 } // namespace net
16 16
17 namespace chrome_browser_net { 17 namespace chrome_browser_net {
18 18
19 // Returns true if cookie-like storage systems should enter record mode for
20 // debugging.
21 bool IsCookieRecordMode();
22
23 // Returns true if command line flags indicate that cookie-like storage systems
24 // should be forced to be in memory only.
25 bool ShouldUseInMemoryCookiesAndCache();
26
27 // Factory method for creating a CookieStore delegate that sends 19 // Factory method for creating a CookieStore delegate that sends
28 // chrome::NOTIFICATION_COOKIE_CHANGED for the given profile. This 20 // chrome::NOTIFICATION_COOKIE_CHANGED for the given profile. This
29 // delegate is stateless so only one is necessary per profile. 21 // delegate is stateless so only one is necessary per profile.
30 net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile); 22 net::CookieMonsterDelegate* CreateCookieDelegate(Profile* profile);
31 23
32 // Factory method for returning a CookieCryptoDelegate if one is appropriate for 24 // Factory method for returning a CookieCryptoDelegate if one is appropriate for
33 // this platform. The object returned is a LazyInstance. Ownership is not 25 // this platform. The object returned is a LazyInstance. Ownership is not
34 // transferred. 26 // transferred.
35 content::CookieCryptoDelegate* GetCookieCryptoDelegate(); 27 content::CookieCryptoDelegate* GetCookieCryptoDelegate();
36 28
37 } // namespace chrome_browser_net 29 } // namespace chrome_browser_net
38 30
39 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_ 31 #endif // CHROME_BROWSER_NET_COOKIE_STORE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/net/cookie_store_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698