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

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

Issue 7355025: Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for logging cookies at UI thread. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 4 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/chrome_tests.gypi ('k') | net/base/cookie_monster.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 610
611 // This constructor does canonicalization but not validation. 611 // This constructor does canonicalization but not validation.
612 // The result of this constructor should not be relied on in contexts 612 // The result of this constructor should not be relied on in contexts
613 // in which pre-validation of the ParsedCookie has not been done. 613 // in which pre-validation of the ParsedCookie has not been done.
614 CanonicalCookie(const GURL& url, const ParsedCookie& pc); 614 CanonicalCookie(const GURL& url, const ParsedCookie& pc);
615 615
616 ~CanonicalCookie(); 616 ~CanonicalCookie();
617 617
618 // Supports the default copy constructor. 618 // Supports the default copy constructor.
619 619
620 // Creates a canonical cookie from parsed cookie.
621 // Canonicalizes and validates inputs. May return NULL if an attribute
622 // value is invalid.
623 static CanonicalCookie* Create(const GURL& url,
624 const ParsedCookie& pc);
625
620 // Creates a canonical cookie from unparsed attribute values. 626 // Creates a canonical cookie from unparsed attribute values.
621 // Canonicalizes and validates inputs. May return NULL if an attribute 627 // Canonicalizes and validates inputs. May return NULL if an attribute
622 // value is invalid. 628 // value is invalid.
623 static CanonicalCookie* Create(const GURL& url, 629 static CanonicalCookie* Create(const GURL& url,
624 const std::string& name, 630 const std::string& name,
625 const std::string& value, 631 const std::string& value,
626 const std::string& domain, 632 const std::string& domain,
627 const std::string& path, 633 const std::string& path,
628 const std::string& mac_key, 634 const std::string& mac_key,
629 const std::string& mac_algorithm, 635 const std::string& mac_algorithm,
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 private: 882 private:
877 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); 883 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore);
878 }; 884 };
879 885
880 class CookieList : public std::vector<CookieMonster::CanonicalCookie> { 886 class CookieList : public std::vector<CookieMonster::CanonicalCookie> {
881 }; 887 };
882 888
883 } // namespace net 889 } // namespace net
884 890
885 #endif // NET_BASE_COOKIE_MONSTER_H_ 891 #endif // NET_BASE_COOKIE_MONSTER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | net/base/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698