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

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

Issue 2501913002: Change the NaCl loader and broker processes to use the ServiceManager. (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 base::CommandLine* cmd_line, 73 base::CommandLine* cmd_line,
74 bool terminate_on_shutdown) override; 74 bool terminate_on_shutdown) override;
75 const ChildProcessData& GetData() const override; 75 const ChildProcessData& GetData() const override;
76 ChildProcessHost* GetHost() const override; 76 ChildProcessHost* GetHost() const override;
77 base::TerminationStatus GetTerminationStatus(bool known_dead, 77 base::TerminationStatus GetTerminationStatus(bool known_dead,
78 int* exit_code) override; 78 int* exit_code) override;
79 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator() 79 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
80 override; 80 override;
81 void SetName(const base::string16& name) override; 81 void SetName(const base::string16& name) override;
82 void SetHandle(base::ProcessHandle handle) override; 82 void SetHandle(base::ProcessHandle handle) override;
83 std::string GetServiceRequestChannelToken() override;
83 84
84 // ChildProcessHostDelegate implementation: 85 // ChildProcessHostDelegate implementation:
85 bool CanShutdown() override; 86 bool CanShutdown() override;
86 void OnChildDisconnected() override; 87 void OnChildDisconnected() override;
87 const base::Process& GetProcess() const override; 88 const base::Process& GetProcess() const override;
88 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 89 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
89 bool OnMessageReceived(const IPC::Message& message) override; 90 bool OnMessageReceived(const IPC::Message& message) override;
90 void OnChannelConnected(int32_t peer_pid) override; 91 void OnChannelConnected(int32_t peer_pid) override;
91 void OnChannelError() override; 92 void OnChannelError() override;
92 void OnBadMessageReceived(const IPC::Message& message) override; 93 void OnBadMessageReceived(const IPC::Message& message) override;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 bool is_channel_connected_; 171 bool is_channel_connected_;
171 bool notify_child_disconnected_; 172 bool notify_child_disconnected_;
172 173
173 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; 174 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_;
174 }; 175 };
175 176
176 } // namespace content 177 } // namespace content
177 178
178 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 179 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698