diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 23:16:49 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 23:16:49 +0000 |
commit | a50ae535e1fbc14c1468376aad90908fccda9978 (patch) | |
tree | 31e2f0be5bd86f334b4ce3cd22dcf41ac53deee3 /chrome/browser/printing/print_preview_test.cc | |
parent | 29738640f7606551b16abc19cf309d4c03de4c35 (diff) | |
download | chromium_src-a50ae535e1fbc14c1468376aad90908fccda9978.zip chromium_src-a50ae535e1fbc14c1468376aad90908fccda9978.tar.gz chromium_src-a50ae535e1fbc14c1468376aad90908fccda9978.tar.bz2 |
Add tests for redirect responses from SafeBrowsingProtocolManager.
This also fixes two corner-case bugs discovered along the way:
a) If the final redirect response is empty, UpdateFinished() is never called on SafeBrowsingService.
b) If the last redirect response takes longer to persist the chunks to the database than the interval to the next update, the next update will start before the previous one completed.
BUG=158246,161550,161551
Review URL: https://chromiumcodereview.appspot.com/11419041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_preview_test.cc')
0 files changed, 0 insertions, 0 deletions