diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 23:33:04 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 23:33:04 +0000 |
commit | aca840c242a14e1ee40665181b3515700c97e51b (patch) | |
tree | 4158cf866ad3930fb25895ed5e69325906066722 /chrome/chrome_tests.gypi | |
parent | a0fddae546bb4c61d251c95a7ac56836b83aecc4 (diff) | |
download | chromium_src-aca840c242a14e1ee40665181b3515700c97e51b.zip chromium_src-aca840c242a14e1ee40665181b3515700c97e51b.tar.gz chromium_src-aca840c242a14e1ee40665181b3515700c97e51b.tar.bz2 |
Fix errors in ExtensionPrefs with storing the blacklist last ping day.
This moves where we were storing the blacklist last ping day so that we aren't
storing an invalid extension id in the prefs, and adds code to keep invalid ids
from being stored. It also removes some warnings in cases that aren't errors,
and finally adds some unit tests for extension_prefs to try and keep similar
problems from happening in the future.
BUG=40017
TEST=Should not get any DCHECK failures in Debug builds when you do an
extension update manually (via the chrome://extensions page) and then restart
the browser.
Review URL: http://codereview.chromium.org/1596008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 431bef1..369dd35 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -745,6 +745,7 @@ 'browser/extensions/convert_user_script_unittest.cc', 'browser/extensions/extension_menu_manager_unittest.cc', 'browser/extensions/extension_messages_unittest.cc', + 'browser/extensions/extension_prefs_unittest.cc', 'browser/extensions/extension_process_manager_unittest.cc', 'browser/extensions/extension_ui_unittest.cc', 'browser/extensions/extension_updater_unittest.cc', |