Remove IPC::MessageIterator.

It's a rarely-used and completely unnecessary (and thin) wrapper around
PickleIterator.


Review URL: https://chromiumcodereview.appspot.com/11570038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173525 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h
index 19622b26..7300659 100644
--- a/ipc/ipc_message_utils.h
+++ b/ipc/ipc_message_utils.h
@@ -61,19 +61,6 @@
 
 struct ChannelHandle;
 
-//-----------------------------------------------------------------------------
-// An iterator class for reading the fields contained within a Message.
-class IPC_EXPORT MessageIterator {
- public:
-  explicit MessageIterator(const Message& m);
-
-  int NextInt() const;
-  const std::string NextString() const;
-
- private:
-  mutable PickleIterator iter_;
-};
-
 // -----------------------------------------------------------------------------
 // How we send IPC message logs across channels.
 struct IPC_EXPORT LogData {
@@ -93,8 +80,8 @@
   std::string params;
 };
 
-
 //-----------------------------------------------------------------------------
+
 // A dummy struct to place first just to allow leading commas for all
 // members in the macro-generated constructor initializer lists.
 struct NoParams {