Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3052)

Unified Diff: base/task.h

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/tuple.h » ('j') | chrome/browser/safe_browsing/client_side_detection_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task.h
diff --git a/base/task.h b/base/task.h
index fc986b232904ed79542ce9832daf7fdccdb05f3c..2deee56be9da1aee622a88a3345377c4e1d186b8 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>
« no previous file with comments | « no previous file | base/tuple.h » ('j') | chrome/browser/safe_browsing/client_side_detection_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698