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

Unified Diff: ipc/ipc_message_utils.cc

Issue 11570038: Remove IPC::MessageIterator. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years 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 | « ipc/ipc_message_utils.h ('k') | ipc/ipc_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index 4cc84949d4f3a147e1770db029c19db608d44fa3..5e7067e259154d584c95dbab2bdeef6886b3f36d 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -256,23 +256,6 @@ LogData::LogData()
LogData::~LogData() {
}
-MessageIterator::MessageIterator(const Message& m) : iter_(m) {
-}
-
-int MessageIterator::NextInt() const {
- int val = -1;
- if (!iter_.ReadInt(&val))
- NOTREACHED();
- return val;
-}
-
-const std::string MessageIterator::NextString() const {
- std::string val;
- if (!iter_.ReadString(&val))
- NOTREACHED();
- return val;
-}
-
void ParamTraits<bool>::Log(const param_type& p, std::string* l) {
l->append(p ? "true" : "false");
}
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | ipc/ipc_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698