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

Unified Diff: net/base/cookie_store.cc

Issue 7833042: Finalize a CL originally by departed intern ycxiao@ that detaches the loading of cookies from the... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/cookie_store.h ('k') | net/base/cookie_store_test_helpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_store.cc
===================================================================
--- net/base/cookie_store.cc (revision 99705)
+++ net/base/cookie_store.cc (working copy)
@@ -8,32 +8,6 @@
namespace net {
-bool CookieStore::SetCookie(const GURL& url, const std::string& cookie_line) {
- return SetCookieWithOptions(url, cookie_line, CookieOptions());
-}
-
-std::string CookieStore::GetCookies(const GURL& url) {
- return GetCookiesWithOptions(url, CookieOptions());
-}
-
-void CookieStore::GetCookiesAsync(
- const GURL& url, const GetCookiesCallback& callback) {
- GetCookiesWithOptionsAsync(url, CookieOptions(), callback);
-}
-
-void CookieStore::SetCookiesWithOptions(
- const GURL& url,
- const std::vector<std::string>& cookie_lines,
- const CookieOptions& options) {
- for (size_t i = 0; i < cookie_lines.size(); ++i)
- SetCookieWithOptions(url, cookie_lines[i], options);
-}
-
-void CookieStore::SetCookies(const GURL& url,
- const std::vector<std::string>& cookie_lines) {
- SetCookiesWithOptions(url, cookie_lines, CookieOptions());
-}
-
CookieStore::CookieStore() {}
CookieStore::~CookieStore() {}
« no previous file with comments | « net/base/cookie_store.h ('k') | net/base/cookie_store_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698