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

Side by Side Diff: net/base/cookie_store.h

Issue 521072: Attempt 2 at landing this.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/html_util_unittests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 // Brought to you by number 42. 5 // Brought to you by number 42.
6 6
7 #ifndef NET_BASE_COOKIE_STORE_H_ 7 #ifndef NET_BASE_COOKIE_STORE_H_
8 #define NET_BASE_COOKIE_STORE_H_ 8 #define NET_BASE_COOKIE_STORE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Simple interface, get a cookie string "a=b; c=d" for the given URL. 52 // Simple interface, get a cookie string "a=b; c=d" for the given URL.
53 // It will _not_ return httponly cookies, see CookieOptions. 53 // It will _not_ return httponly cookies, see CookieOptions.
54 virtual std::string GetCookies(const GURL& url) = 0; 54 virtual std::string GetCookies(const GURL& url) = 0;
55 virtual std::string GetCookiesWithOptions(const GURL& url, 55 virtual std::string GetCookiesWithOptions(const GURL& url,
56 const CookieOptions& options) = 0; 56 const CookieOptions& options) = 0;
57 57
58 virtual CookieMonster* GetCookieMonster() { 58 virtual CookieMonster* GetCookieMonster() {
59 return NULL; 59 return NULL;
60 }; 60 };
61 61
62 // Deletes the passed in cookie for the specified URL.
63 virtual void DeleteCookie(const GURL& url,
64 const std::string& cookie_name) = 0;
65
62 protected: 66 protected:
63 friend class base::RefCountedThreadSafe<CookieStore>; 67 friend class base::RefCountedThreadSafe<CookieStore>;
64 virtual ~CookieStore() {} 68 virtual ~CookieStore() {}
65 }; 69 };
66 70
67 } // namespace net 71 } // namespace net
68 72
69 #endif // NET_BASE_COOKIE_STORE_H_ 73 #endif // NET_BASE_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/html_util_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698