summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 23:04:03 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 23:04:03 +0000
commit19265e1c2bc6964292203c07967bf43b7ad2e130 (patch)
treeaa5c7c7c003276d53be0ac062b815ff9beec03eb /chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc
parenta094e2cb67f9c134163a4418315d8d245e406fbe (diff)
downloadchromium_src-19265e1c2bc6964292203c07967bf43b7ad2e130.zip
chromium_src-19265e1c2bc6964292203c07967bf43b7ad2e130.tar.gz
chromium_src-19265e1c2bc6964292203c07967bf43b7ad2e130.tar.bz2
Reduce the maximum time that client-side phishing detection will block the WebKit thread.
BUG=none TEST=updated existing tests Review URL: https://chromiumcodereview.appspot.com/10391045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc')
-rw-r--r--chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc
index 082f9e1..c7b2992 100644
--- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc
+++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -26,7 +26,7 @@ namespace safe_browsing {
// This time should be short enough that it doesn't noticeably disrupt the
// user's interaction with the page.
-const int PhishingTermFeatureExtractor::kMaxTimePerChunkMs = 20;
+const int PhishingTermFeatureExtractor::kMaxTimePerChunkMs = 10;
// Experimenting shows that we get a reasonable gain in performance by
// increasing this up to around 10, but there's not much benefit in