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

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

Issue 2201183003: Remove outgoing interface registry on RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
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 #include "content/browser/browser_child_process_host_impl.h" 5 #include "content/browser/browser_child_process_host_impl.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/dump_without_crashing.h" 10 #include "base/debug/dump_without_crashing.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 void BrowserChildProcessHostImpl::SetName(const base::string16& name) { 271 void BrowserChildProcessHostImpl::SetName(const base::string16& name) {
272 DCHECK_CURRENTLY_ON(BrowserThread::IO); 272 DCHECK_CURRENTLY_ON(BrowserThread::IO);
273 data_.name = name; 273 data_.name = name;
274 } 274 }
275 275
276 void BrowserChildProcessHostImpl::SetHandle(base::ProcessHandle handle) { 276 void BrowserChildProcessHostImpl::SetHandle(base::ProcessHandle handle) {
277 DCHECK_CURRENTLY_ON(BrowserThread::IO); 277 DCHECK_CURRENTLY_ON(BrowserThread::IO);
278 data_.handle = handle; 278 data_.handle = handle;
279 } 279 }
280 280
281 shell::InterfaceRegistry* BrowserChildProcessHostImpl::GetInterfaceRegistry() {
282 DCHECK_CURRENTLY_ON(BrowserThread::IO);
283 return delegate_->GetInterfaceRegistry();
284 }
285
286 shell::InterfaceProvider* BrowserChildProcessHostImpl::GetRemoteInterfaces() { 281 shell::InterfaceProvider* BrowserChildProcessHostImpl::GetRemoteInterfaces() {
287 DCHECK_CURRENTLY_ON(BrowserThread::IO); 282 DCHECK_CURRENTLY_ON(BrowserThread::IO);
288 return delegate_->GetRemoteInterfaces(); 283 return delegate_->GetRemoteInterfaces();
289 } 284 }
290 285
291 void BrowserChildProcessHostImpl::ForceShutdown() { 286 void BrowserChildProcessHostImpl::ForceShutdown() {
292 DCHECK_CURRENTLY_ON(BrowserThread::IO); 287 DCHECK_CURRENTLY_ON(BrowserThread::IO);
293 g_child_process_list.Get().remove(this); 288 g_child_process_list.Get().remove(this);
294 child_process_host_->ForceShutdown(); 289 child_process_host_->ForceShutdown();
295 } 290 }
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 503
509 #if defined(OS_WIN) 504 #if defined(OS_WIN)
510 505
511 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { 506 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) {
512 OnChildDisconnected(); 507 OnChildDisconnected();
513 } 508 }
514 509
515 #endif 510 #endif
516 511
517 } // namespace content 512 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698