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

Side by Side Diff: net/cookies/cookie_util.cc

Issue 9703011: Move the cookie store implementation into its own directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net/base/cookies/ -> net/cookies/ Created 8 years, 9 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 | « net/cookies/cookie_util.h ('k') | net/cookies/cookie_util_unittest.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 #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
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
OLDNEW
« no previous file with comments | « net/cookies/cookie_util.h ('k') | net/cookies/cookie_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698