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

Side by Side Diff: content/public/common/child_process_host.h

Issue 2476883002: Remove obsolete methods from IPC::Channel and related classes. (Closed)
Patch Set: Created 4 years, 1 month 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_COMMON_CHILD_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/files/scoped_file.h" 10 #include "base/files/scoped_file.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Returns true iff the IPC channel is currently being opened; 94 // Returns true iff the IPC channel is currently being opened;
95 virtual bool IsChannelOpening() = 0; 95 virtual bool IsChannelOpening() = 0;
96 96
97 // Adds an IPC message filter. A reference will be kept to the filter. 97 // Adds an IPC message filter. A reference will be kept to the filter.
98 virtual void AddFilter(IPC::MessageFilter* filter) = 0; 98 virtual void AddFilter(IPC::MessageFilter* filter) = 0;
99 99
100 // Returns the service_manager::InterfaceProvider the process host can use to 100 // Returns the service_manager::InterfaceProvider the process host can use to
101 // bind 101 // bind
102 // interfaces exposed to it from the child. 102 // interfaces exposed to it from the child.
103 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; 103 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
104
105 #if defined(OS_POSIX)
106 // See IPC::Channel::TakeClientFileDescriptor.
107 virtual base::ScopedFD TakeClientFileDescriptor() = 0;
108 #endif
109 }; 104 };
110 105
111 }; // namespace content 106 }; // namespace content
112 107
113 #endif // CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_ 108 #endif // CONTENT_PUBLIC_COMMON_CHILD_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698