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

Unified Diff: ppapi/proxy/dispatch_reply_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 | « ppapi/host/dispatch_host_message.h ('k') | ppapi/proxy/nacl_message_scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/dispatch_reply_message.h
diff --git a/ppapi/proxy/dispatch_reply_message.h b/ppapi/proxy/dispatch_reply_message.h
index 3e8b74f4db89c6acf413aad5b5e0e6bb0c33ce34..2d664174341c7eff6ebf4b4d53515099f4cadba5 100644
--- a/ppapi/proxy/dispatch_reply_message.h
+++ b/ppapi/proxy/dispatch_reply_message.h
@@ -22,44 +22,46 @@ class ResourceMessageReplyParams;
template <class ObjT, class Method>
inline void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<>& arg) {
+ const base::Tuple<>& arg) {
(obj->*method)(params);
}
template <class ObjT, class Method, class A>
inline void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<A>& arg) {
- (obj->*method)(params, get<0>(arg));
+ const base::Tuple<A>& arg) {
+ (obj->*method)(params, base::get<0>(arg));
}
template<class ObjT, class Method, class A, class B>
inline void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<A, B>& arg) {
- (obj->*method)(params, get<0>(arg), get<1>(arg));
+ const base::Tuple<A, B>& arg) {
+ (obj->*method)(params, base::get<0>(arg), base::get<1>(arg));
}
template<class ObjT, class Method, class A, class B, class C>
inline void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<A, B, C>& arg) {
- (obj->*method)(params, get<0>(arg), get<1>(arg), get<2>(arg));
+ const base::Tuple<A, B, C>& arg) {
+ (obj->*method)(params, 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 void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<A, B, C, D>& arg) {
- (obj->*method)(params, get<0>(arg), get<1>(arg), get<2>(arg), get<3>(arg));
+ const base::Tuple<A, B, C, D>& arg) {
+ (obj->*method)(params, 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 void DispatchResourceReply(ObjT* obj, Method method,
const ResourceMessageReplyParams& params,
- const Tuple<A, B, C, D, E>& arg) {
- (obj->*method)(params, get<0>(arg), get<1>(arg), get<2>(arg), get<3>(arg),
- get<4>(arg));
+ const base::Tuple<A, B, C, D, E>& arg) {
+ (obj->*method)(params, base::get<0>(arg), base::get<1>(arg),
+ base::get<2>(arg), base::get<3>(arg), base::get<4>(arg));
}
// Used to dispatch resource replies. In most cases, you should not call this
« no previous file with comments | « ppapi/host/dispatch_host_message.h ('k') | ppapi/proxy/nacl_message_scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698