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

Unified Diff: ppapi/host/dispatch_host_message.h

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « net/quic/quic_session_test.cc ('k') | ppapi/proxy/dispatch_reply_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/dispatch_host_message.h
diff --git a/ppapi/host/dispatch_host_message.h b/ppapi/host/dispatch_host_message.h
index 80b8a343a7f3e1cbdc748fffc503f0e1295bf44e..5d05019cd0e3e277b12de9a51274ea3735c3e628 100644
--- a/ppapi/host/dispatch_host_message.h
+++ b/ppapi/host/dispatch_host_message.h
@@ -22,45 +22,47 @@ struct HostMessageContext;
template <class ObjT, class Method>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<>& arg) {
+ base::Tuple<>& arg) {
return (obj->*method)(context);
}
template <class ObjT, class Method, class A>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<A>& arg) {
- return (obj->*method)(context, get<0>(arg));
+ base::Tuple<A>& arg) {
+ return (obj->*method)(context, base::get<0>(arg));
}
template<class ObjT, class Method, class A, class B>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<A, B>& arg) {
- return (obj->*method)(context, get<0>(arg), get<1>(arg));
+ base::Tuple<A, B>& arg) {
+ return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg));
}
template<class ObjT, class Method, class A, class B, class C>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<A, B, C>& arg) {
- return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg));
+ base::Tuple<A, B, C>& arg) {
+ return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
+ base::get<2>(arg));
}
template<class ObjT, class Method, class A, class B, class C, class D>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<A, B, C, D>& arg) {
- return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg),
- get<3>(arg));
+ base::Tuple<A, B, C, D>& arg) {
+ return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
+ base::get<2>(arg), base::get<3>(arg));
}
template<class ObjT, class Method, class A, class B, class C, class D, class E>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- Tuple<A, B, C, D, E>& arg) {
- return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg),
- get<3>(arg), get<4>(arg));
+ base::Tuple<A, B, C, D, E>& arg) {
+ return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
+ base::get<2>(arg), base::get<3>(arg),
+ base::get<4>(arg));
}
// Note that this only works for message with 1 or more parameters. For
« no previous file with comments | « net/quic/quic_session_test.cc ('k') | ppapi/proxy/dispatch_reply_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698