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

Side by Side Diff: content/browser/utility_process_host.cc

Issue 9111032: Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix it for realz Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/utility_process_host.h" 5 #include "content/browser/utility_process_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 env_, 144 env_,
145 #endif 145 #endif
146 cmd_line); 146 cmd_line);
147 147
148 return true; 148 return true;
149 } 149 }
150 150
151 bool UtilityProcessHost::OnMessageReceived(const IPC::Message& message) { 151 bool UtilityProcessHost::OnMessageReceived(const IPC::Message& message) {
152 BrowserThread::PostTask( 152 BrowserThread::PostTask(
153 client_thread_id_, FROM_HERE, 153 client_thread_id_, FROM_HERE,
154 base::IgnoreReturn<bool>( 154 base::Bind(base::IgnoreResult(&Client::OnMessageReceived),
155 base::Bind(&Client::OnMessageReceived, client_.get(), message))); 155 client_.get(), message));
156 return true; 156 return true;
157 } 157 }
158 158
159 void UtilityProcessHost::OnProcessCrashed(int exit_code) { 159 void UtilityProcessHost::OnProcessCrashed(int exit_code) {
160 BrowserThread::PostTask( 160 BrowserThread::PostTask(
161 client_thread_id_, FROM_HERE, 161 client_thread_id_, FROM_HERE,
162 base::Bind(&Client::OnProcessCrashed, client_.get(), exit_code)); 162 base::Bind(&Client::OnProcessCrashed, client_.get(), exit_code));
163 } 163 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/public/browser/browser_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698