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

Side by Side Diff: ipc/ipc_message_utils_impl.h

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | ipc/ipc_test_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains templates forward declared (but not defined) in 5 // This file contains templates forward declared (but not defined) in
6 // ipc_message_utils.h so that they are only instantiated in certain files, 6 // ipc_message_utils.h so that they are only instantiated in certain files,
7 // notably a few IPC unit tests. 7 // notably a few IPC unit tests.
8 8
9 #ifndef IPC_IPC_MESSAGE_UTILS_IMPL_H_ 9 #ifndef IPC_IPC_MESSAGE_UTILS_IMPL_H_
10 #define IPC_IPC_MESSAGE_UTILS_IMPL_H_ 10 #define IPC_IPC_MESSAGE_UTILS_IMPL_H_
(...skipping 23 matching lines...) Expand all
34 34
35 template <class SendParamType, class ReplyParamType> 35 template <class SendParamType, class ReplyParamType>
36 bool SyncMessageSchema<SendParamType, ReplyParamType>::ReadSendParam( 36 bool SyncMessageSchema<SendParamType, ReplyParamType>::ReadSendParam(
37 const Message* msg, SendParam* p) { 37 const Message* msg, SendParam* p) {
38 PickleIterator iter = SyncMessage::GetDataIterator(msg); 38 PickleIterator iter = SyncMessage::GetDataIterator(msg);
39 return ReadParam(msg, &iter, p); 39 return ReadParam(msg, &iter, p);
40 } 40 }
41 41
42 template <class SendParamType, class ReplyParamType> 42 template <class SendParamType, class ReplyParamType>
43 bool SyncMessageSchema<SendParamType, ReplyParamType>::ReadReplyParam( 43 bool SyncMessageSchema<SendParamType, ReplyParamType>::ReadReplyParam(
44 const Message* msg, typename TupleTypes<ReplyParam>::ValueTuple* p) { 44 const Message* msg, typename base::TupleTypes<ReplyParam>::ValueTuple* p) {
45 PickleIterator iter = SyncMessage::GetDataIterator(msg); 45 PickleIterator iter = SyncMessage::GetDataIterator(msg);
46 return ReadParam(msg, &iter, p); 46 return ReadParam(msg, &iter, p);
47 } 47 }
48 48
49 } // namespace IPC 49 } // namespace IPC
50 50
51 #endif // IPC_IPC_MESSAGE_UTILS_IMPL_H_ 51 #endif // IPC_IPC_MESSAGE_UTILS_IMPL_H_
OLDNEW
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | ipc/ipc_test_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698