diff options
author | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 19:47:13 +0000 |
---|---|---|
committer | noelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 19:47:13 +0000 |
commit | fa685ffdc706738091a9243e12da2c89f2a01f0f (patch) | |
tree | e9635360daabc26604bbf842f9873c0ce12c19ac /base/task.h | |
parent | bd6e45ffd4f1c0e805e76a472b50f8f05e3e82e0 (diff) | |
download | chromium_src-fa685ffdc706738091a9243e12da2c89f2a01f0f.zip chromium_src-fa685ffdc706738091a9243e12da2c89f2a01f0f.tar.gz chromium_src-fa685ffdc706738091a9243e12da2c89f2a01f0f.tar.bz2 |
Intergration of the client-side phishing detection.
If the client-side phishing detection classifies a page as phishing it will
send back a ping to Google to verify whether or not the page is really phishing.
If the server also classifies the site as phishing we may show a phishing
interstitial if it is enabled.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6014003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/task.h')
-rw-r--r-- | base/task.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/base/task.h b/base/task.h index fc986b2..2deee56 100644 --- a/base/task.h +++ b/base/task.h @@ -423,6 +423,21 @@ inline CancelableTask* NewRunnableMethod(T* object, Method method, e, f, g)); } +template <class T, class Method, class A, class B, class C, class D, class E, + class F, class G, class H> +inline CancelableTask* NewRunnableMethod(T* object, Method method, + const A& a, const B& b, + const C& c, const D& d, const E& e, + const F& f, const G& g, const H& h) { + return new RunnableMethod<T, + Method, + Tuple8<A, B, C, D, E, F, G, H> >(object, + method, + MakeTuple(a, b, c, + d, e, f, + g, h)); +} + // RunnableFunction and NewRunnableFunction implementation --------------------- template <class Function, class Params> |