summaryrefslogtreecommitdiffstats
path: root/net/base/host_cache.cc
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-06 15:53:20 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-06 15:53:20 +0000
commit23baa52378747306f9ac9e366944df909b883f12 (patch)
treebfad6021995603cfeeeb8608aec19aa5eac7c5b1 /net/base/host_cache.cc
parent9cf2a33be0f52eaf452aaa9eb9a59f2d92a1516a (diff)
downloadchromium_src-23baa52378747306f9ac9e366944df909b883f12.zip
chromium_src-23baa52378747306f9ac9e366944df909b883f12.tar.gz
chromium_src-23baa52378747306f9ac9e366944df909b883f12.tar.bz2
Use a better registration suffix that will always be unique while respecting the MSDN rules (2nd try).
The suffix will now be the base32 encoding of the md5 hash of the user's username. This is always unique and can be determined many times deterministically without I/O access (as opposed to other methods we considered). It respects all MSDN constraints for properties onto which it is appended. This replaces the prior-style username suffixes for new installs. Old-style suffixes (i.e. unsuffixed and username suffixed) will however be kept as is through future updates. Design doc: https://docs.google.com/a/chromium.org/document/d/1qmcV3uYBh3JwvXhYkI7asg0nN7KfVMWVOzND4p0jQ3E/edit Note: This is the continuation of http://codereview.chromium.org/10617002/ which was reverted in https://chromiumcodereview.appspot.com/10667006/ BUG=133810, 133173 TEST= http://goo.gl/ZZ7gE installer_util_unittests.exe --gtest_filter=ShellUtilTest.* Review URL: https://chromiumcodereview.appspot.com/10662052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_cache.cc')
0 files changed, 0 insertions, 0 deletions