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

Unified Diff: content/browser/net/sqlite_persistent_cookie_store.cc

Issue 15140003: Add support for split Public Suffix List distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/site_instance_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/net/sqlite_persistent_cookie_store.cc
diff --git a/content/browser/net/sqlite_persistent_cookie_store.cc b/content/browser/net/sqlite_persistent_cookie_store.cc
index 2822e40416214fe037d8352ede66ef8de00a259e..7295c450a085c26371559be35cc0d0e64e373333 100644
--- a/content/browser/net/sqlite_persistent_cookie_store.cc
+++ b/content/browser/net/sqlite_persistent_cookie_store.cc
@@ -641,7 +641,9 @@ bool SQLitePersistentCookieStore::Backend::InitializeDatabase() {
while (smt.Step()) {
std::string domain = smt.ColumnString(0);
std::string key =
- net::RegistryControlledDomainService::GetDomainAndRegistry(domain);
+ net::registry_controlled_domains::GetDomainAndRegistry(
+ domain,
+ net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
std::map<std::string, std::set<std::string> >::iterator it =
keys_to_load_.find(key);
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/site_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698