OLD | NEW |
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 #ifndef NET_BASE_COOKIE_UTIL_H_ | 5 #ifndef NET_COOKIES_COOKIE_UTIL_H_ |
6 #define NET_BASE_COOKIE_UTIL_H_ | 6 #define NET_COOKIES_COOKIE_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 namespace cookie_util { | 16 namespace cookie_util { |
(...skipping 13 matching lines...) Expand all Loading... |
30 const std::string& domain_string, | 30 const std::string& domain_string, |
31 std::string* result); | 31 std::string* result); |
32 | 32 |
33 // Returns true if a domain string represents a host-only cookie, | 33 // Returns true if a domain string represents a host-only cookie, |
34 // i.e. it doesn't begin with a leading '.' character. | 34 // i.e. it doesn't begin with a leading '.' character. |
35 NET_EXPORT bool DomainIsHostOnly(const std::string& domain_string); | 35 NET_EXPORT bool DomainIsHostOnly(const std::string& domain_string); |
36 | 36 |
37 } // namspace cookie_util | 37 } // namspace cookie_util |
38 } // namespace net | 38 } // namespace net |
39 | 39 |
40 #endif // NET_BASE_COOKIE_UTIL_H_ | 40 #endif // NET_COOKIES_COOKIE_UTIL_H_ |
OLD | NEW |