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

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

Issue 294025: DevTools: Implement raw cookies access for inspector. (Closed)
Patch Set: '' Created 11 years, 1 month 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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 the letter D and the number 2. 5 // Brought to you by the letter D and the number 2.
6 6
7 #ifndef NET_BASE_COOKIE_MONSTER_H_ 7 #ifndef NET_BASE_COOKIE_MONSTER_H_
8 #define NET_BASE_COOKIE_MONSTER_H_ 8 #define NET_BASE_COOKIE_MONSTER_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const base::Time& creation_time, 88 const base::Time& creation_time,
89 const CookieOptions& options); 89 const CookieOptions& options);
90 virtual void SetCookies(const GURL& url, 90 virtual void SetCookies(const GURL& url,
91 const std::vector<std::string>& cookies); 91 const std::vector<std::string>& cookies);
92 virtual void SetCookiesWithOptions(const GURL& url, 92 virtual void SetCookiesWithOptions(const GURL& url,
93 const std::vector<std::string>& cookies, 93 const std::vector<std::string>& cookies,
94 const CookieOptions& options); 94 const CookieOptions& options);
95 virtual std::string GetCookies(const GURL& url); 95 virtual std::string GetCookies(const GURL& url);
96 virtual std::string GetCookiesWithOptions(const GURL& url, 96 virtual std::string GetCookiesWithOptions(const GURL& url,
97 const CookieOptions& options); 97 const CookieOptions& options);
98 virtual void GetRawCookies(const GURL& url,
99 std::vector<CanonicalCookie>* raw_cookies);
100 virtual void DeleteCookie(const GURL& url, const std::string& cookie_name);
98 101
99 virtual CookieMonster* GetCookieMonster() { 102 virtual CookieMonster* GetCookieMonster() {
100 return this; 103 return this;
101 } 104 }
102 105
103 // Returns all the cookies, for use in management UI, etc. This does not mark 106 // Returns all the cookies, for use in management UI, etc. This does not mark
104 // the cookies as having been accessed. 107 // the cookies as having been accessed.
105 CookieList GetAllCookies(); 108 CookieList GetAllCookies();
106 109
107 // Delete all of the cookies. 110 // Delete all of the cookies.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 protected: 389 protected:
387 PersistentCookieStore() { } 390 PersistentCookieStore() { }
388 391
389 private: 392 private:
390 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); 393 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore);
391 }; 394 };
392 395
393 } // namespace net 396 } // namespace net
394 397
395 #endif // NET_BASE_COOKIE_MONSTER_H_ 398 #endif // NET_BASE_COOKIE_MONSTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698