Now that zoom levels are visible in Content Settings, we need to make sure no garbage custom zoom levels are stored.
This CL addresses the following two problematic cases:
* In certain scenarios, we inadvertently saved (default_zoom_level + EPSILON) values as custom zoom levels.
* In some cases, we inadvertently stored a zoom level for the empty host.
Make so neither can happen any more, and also sanitize data persisted by past versions.
BUG=364399
Review URL: https://codereview.chromium.org/266523003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267865 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed