summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 01:10:50 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-09 01:10:50 +0000
commitc36f06436af5ef0b9b63cdba15ef95a790fdcee6 (patch)
treef45cddb8f09dfc5a9a2ce2181d0a984fc085a337 /net/net.gyp
parentbc2fc85e5f1c0d24e4d597837017c1dfbfe3ab22 (diff)
downloadchromium_src-c36f06436af5ef0b9b63cdba15ef95a790fdcee6.zip
chromium_src-c36f06436af5ef0b9b63cdba15ef95a790fdcee6.tar.gz
chromium_src-c36f06436af5ef0b9b63cdba15ef95a790fdcee6.tar.bz2
ForceTLS: hash hostnames, handle subdomains, canonicalise.
It turns out that JSON[Reader|Writer] cannot handle periods in key names(!). Because of this, an also to avoid leaking a sort of ForceTLS browser history in the state file, we hash the domain names. Also, this patch tries to implement the RFCs with respect to canonicalising the names. Since IDN processing has already occured by the time the name reaches us, there's only so much that we can do however. http://codereview.chromium.org/201033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index fb48e11..837cd13 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -52,6 +52,8 @@
'base/data_url.h',
'base/directory_lister.cc',
'base/directory_lister.h',
+ 'base/dns_util.cc',
+ 'base/dns_util.h',
'base/effective_tld_names.cc',
'base/effective_tld_names.dat',
'base/escape.cc',
@@ -450,6 +452,7 @@
'base/cookie_policy_unittest.cc',
'base/data_url_unittest.cc',
'base/directory_lister_unittest.cc',
+ 'base/dns_util_unittest.cc',
'base/escape_unittest.cc',
'base/file_stream_unittest.cc',
'base/filter_unittest.cc',