| 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 #include "net/base/cookie_util.h" | 5 #include "net/cookies/cookie_util.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "net/base/net_util.h" | 9 #include "net/base/net_util.h" |
| 10 #include "net/base/registry_controlled_domain.h" | 10 #include "net/base/registry_controlled_domain.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 namespace cookie_util { | 13 namespace cookie_util { |
| 14 | 14 |
| 15 bool DomainIsHostOnly(const std::string& domain_string) { | 15 bool DomainIsHostOnly(const std::string& domain_string) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 if (is_suffix) | 70 if (is_suffix) |
| 71 return false; | 71 return false; |
| 72 | 72 |
| 73 *result = cookie_domain; | 73 *result = cookie_domain; |
| 74 return true; | 74 return true; |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace cookie_utils | 77 } // namespace cookie_utils |
| 78 } // namespace net | 78 } // namespace net |
| 79 | 79 |
| OLD | NEW |