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/tuple.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/tuple.h')
-rw-r--r-- | base/tuple.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/tuple.h b/base/tuple.h index 13d8722..65d0908a 100644 --- a/base/tuple.h +++ b/base/tuple.h @@ -590,6 +590,13 @@ inline void DispatchToMethod(ObjT* obj, Method method, (obj->*method)(arg.a, arg.b, arg.c, arg.d, arg.e, arg.f, arg.g); } +template<class ObjT, class Method, class A, class B, class C, class D, class E, + class F, class G, class H> +inline void DispatchToMethod(ObjT* obj, Method method, + const Tuple8<A, B, C, D, E, F, G, H>& arg) { + (obj->*method)(arg.a, arg.b, arg.c, arg.d, arg.e, arg.f, arg.g, arg.h); +} + // Static Dispatchers with no out params. template <class Function> |