diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 13:28:11 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 13:28:11 +0000 |
commit | 5f450e5c6fc98a762cebb38cd080731bedd61ae3 (patch) | |
tree | de1e6a257709c220222a6ab9defac23aade6e45c /net/base/cookie_policy.h | |
parent | 60147f3b071444f0abfb320e62a0c9f2b666d443 (diff) | |
download | chromium_src-5f450e5c6fc98a762cebb38cd080731bedd61ae3.zip chromium_src-5f450e5c6fc98a762cebb38cd080731bedd61ae3.tar.gz chromium_src-5f450e5c6fc98a762cebb38cd080731bedd61ae3.tar.bz2 |
Navigation and cookies for Automation
Give Automation better visibility and control over navigations.
Also, make it possible for automation to implement a dummy cookie
store to go with dummy request serving over automation.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/159189
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cookie_policy.h')
-rw-r--r-- | net/base/cookie_policy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/cookie_policy.h b/net/base/cookie_policy.h index 4c01705..8efe998 100644 --- a/net/base/cookie_policy.h +++ b/net/base/cookie_policy.h @@ -38,7 +38,11 @@ class CookiePolicy { // Sets the current policy to enforce. This should be called when the user's // preferences change. - void SetType(Type type) { type_ = type; } + void set_type(Type type) { type_ = type; } + + Type type() const { + return type_; + } CookiePolicy(); |