diff options
author | tfarina <tfarina@chromium.org> | 2016-03-24 08:55:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 15:58:42 +0000 |
commit | b1eaeaefa02ccc5a8fe79b2776a6aa34b14a24e0 (patch) | |
tree | eec7a7700ac5a2cd9f0b729bbaf339b9795c94ba /net/dns/host_resolver_impl_unittest.cc | |
parent | b53b38cca6a4e89d3e9b1a2762ee6d7ebb2b77d2 (diff) | |
download | chromium_src-b1eaeaefa02ccc5a8fe79b2776a6aa34b14a24e0.zip chromium_src-b1eaeaefa02ccc5a8fe79b2776a6aa34b14a24e0.tar.gz chromium_src-b1eaeaefa02ccc5a8fe79b2776a6aa34b14a24e0.tar.bz2 |
net: remove CanonicalCookie ctor that takes two parameters
The problem of using the constructor is that with it there
is no way to return an error if bad arguments are passed in.
That can be done by using the static method Create, that
does some validation and returns null if an attribute value
is invalid.
BUG=57061
TEST=unit_tests, net_unittests
R=mmenke@chromium.org
TBR=bauerb@chromium.org,msw@chromium.org
Review URL: https://codereview.chromium.org/1833483002
Cr-Commit-Position: refs/heads/master@{#383069}
Diffstat (limited to 'net/dns/host_resolver_impl_unittest.cc')
0 files changed, 0 insertions, 0 deletions