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

Side by Side Diff: content/public/browser/utility_process_host.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_UTILITY_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
7 7
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/process/launch.h" 9 #include "base/process/launch.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Returns information about the utility child process. 76 // Returns information about the utility child process.
77 virtual const ChildProcessData& GetData() = 0; 77 virtual const ChildProcessData& GetData() = 0;
78 78
79 #if defined(OS_POSIX) 79 #if defined(OS_POSIX)
80 virtual void SetEnv(const base::EnvironmentMap& env) = 0; 80 virtual void SetEnv(const base::EnvironmentMap& env) = 0;
81 #endif 81 #endif
82 82
83 // Starts the utility process. 83 // Starts the utility process.
84 virtual bool Start() = 0; 84 virtual bool Start() = 0;
85 85
86 // Returns the shell::InterfaceRegistry the browser process uses to expose
87 // interfaces to the utility process.
88 virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0;
89
90 // Returns the shell::InterfaceProvider the browser process can use to bind 86 // Returns the shell::InterfaceProvider the browser process can use to bind
91 // interfaces exposed to it from the utility process. 87 // interfaces exposed to it from the utility process.
92 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; 88 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0;
93 89
94 // Set the name of the process to appear in the task manager. 90 // Set the name of the process to appear in the task manager.
95 virtual void SetName(const base::string16& name) = 0; 91 virtual void SetName(const base::string16& name) = 0;
96 }; 92 };
97 93
98 }; // namespace content 94 }; // namespace content
99 95
100 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_ 96 #endif // CONTENT_PUBLIC_BROWSER_UTILITY_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698