From 9ea0ecd0243f27205f9e6cf0ad2e554cc180e4cf Mon Sep 17 00:00:00 2001 From: "bbudge@chromium.org" Date: Mon, 28 Oct 2013 15:30:04 +0000 Subject: Remove unused IPC::Message priority. Removes the PriorityValue enum and field from IPC::Message. This doesn't appear to be used anywhere. Changes the data message ctor to take a size_t data_len parameter. This works around an ambiguity problem with the main ctor, which has a similar signature and would require lots of futzing with our test code to fix. To make this work, the matching Pickle constructor is also changed to take a size_t data_len parameter. BUG=194304 Review URL: https://codereview.chromium.org/35643005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231330 0039d316-1c4b-4281-b951-d872f2087c98 --- cloud_print/service/win/service_listener.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloud_print') diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc index 96c6bbf..f092188 100644 --- a/cloud_print/service/win/service_listener.cc +++ b/cloud_print/service/win/service_listener.cc @@ -75,7 +75,7 @@ bool ServiceListener::OnMessageReceived(const IPC::Message& msg) { } void ServiceListener::OnChannelConnected(int32 peer_pid) { - IPC::Message* message = new IPC::Message(0, 0, IPC::Message::PRIORITY_NORMAL); + IPC::Message* message = new IPC::Message(0, 0); message->WriteString(GetEnvironment(user_data_dir_)); channel_->Send(message); } -- cgit v1.1