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

Side by Side Diff: content/public/browser/browser_child_process_host_delegate.h

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 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "ipc/ipc_listener.h" 9 #include "ipc/ipc_listener.h"
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 // Called if the process failed to launch. In this case the process never 32 // Called if the process failed to launch. In this case the process never
33 // started so the code here is a platform specific error code. 33 // started so the code here is a platform specific error code.
34 virtual void OnProcessLaunchFailed(int error_code) {} 34 virtual void OnProcessLaunchFailed(int error_code) {}
35 35
36 // Called if the process crashed. |exit_code| is the status returned when the 36 // Called if the process crashed. |exit_code| is the status returned when the
37 // process crashed (for posix, as returned from waitpid(), for Windows, as 37 // process crashed (for posix, as returned from waitpid(), for Windows, as
38 // returned from GetExitCodeProcess()). 38 // returned from GetExitCodeProcess()).
39 virtual void OnProcessCrashed(int exit_code) {} 39 virtual void OnProcessCrashed(int exit_code) {}
40 40
41 // Returns the shell::InterfaceRegistry the browser process uses to expose
42 // interfaces to the child.
43 virtual shell::InterfaceRegistry* GetInterfaceRegistry();
44
45 // Returns the shell::InterfaceProvider the browser process can use to bind 41 // Returns the shell::InterfaceProvider the browser process can use to bind
46 // interfaces exposed to it from the child. 42 // interfaces exposed to it from the child.
47 virtual shell::InterfaceProvider* GetRemoteInterfaces(); 43 virtual shell::InterfaceProvider* GetRemoteInterfaces();
48 }; 44 };
49 45
50 }; // namespace content 46 }; // namespace content
51 47
52 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_ 48 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_child_process_host.h ('k') | content/public/browser/browser_child_process_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698