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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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_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 14 matching lines...) Expand all
25 #include "content/public/common/child_process_host_delegate.h" 25 #include "content/public/common/child_process_host_delegate.h"
26 26
27 #if defined(OS_WIN) 27 #if defined(OS_WIN)
28 #include "base/win/object_watcher.h" 28 #include "base/win/object_watcher.h"
29 #endif 29 #endif
30 30
31 namespace base { 31 namespace base {
32 class CommandLine; 32 class CommandLine;
33 } 33 }
34 34
35 namespace shell { 35 namespace service_manager {
36 class InterfaceProvider; 36 class InterfaceProvider;
37 } 37 }
38 38
39 namespace content { 39 namespace content {
40 40
41 class BrowserChildProcessHostIterator; 41 class BrowserChildProcessHostIterator;
42 class BrowserChildProcessObserver; 42 class BrowserChildProcessObserver;
43 class BrowserMessageFilter; 43 class BrowserMessageFilter;
44 class ChildConnection; 44 class ChildConnection;
45 45
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 int* exit_code) override; 81 int* exit_code) override;
82 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator() 82 std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
83 override; 83 override;
84 void SetName(const base::string16& name) override; 84 void SetName(const base::string16& name) override;
85 void SetHandle(base::ProcessHandle handle) override; 85 void SetHandle(base::ProcessHandle handle) override;
86 86
87 // ChildProcessHostDelegate implementation: 87 // ChildProcessHostDelegate implementation:
88 bool CanShutdown() override; 88 bool CanShutdown() override;
89 void OnChildDisconnected() override; 89 void OnChildDisconnected() override;
90 const base::Process& GetProcess() const override; 90 const base::Process& GetProcess() const override;
91 shell::InterfaceProvider* GetRemoteInterfaces() override; 91 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
92 bool OnMessageReceived(const IPC::Message& message) override; 92 bool OnMessageReceived(const IPC::Message& message) override;
93 void OnChannelConnected(int32_t peer_pid) override; 93 void OnChannelConnected(int32_t peer_pid) override;
94 void OnChannelError() override; 94 void OnChannelError() override;
95 void OnBadMessageReceived(const IPC::Message& message) override; 95 void OnBadMessageReceived(const IPC::Message& message) override;
96 96
97 // Terminates the process and logs an error after a bad message was received 97 // Terminates the process and logs an error after a bad message was received
98 // from the child process. 98 // from the child process.
99 void TerminateOnBadMessageReceived(uint32_t type); 99 void TerminateOnBadMessageReceived(uint32_t type);
100 100
101 // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown 101 // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 bool is_channel_connected_; 175 bool is_channel_connected_;
176 bool notify_child_disconnected_; 176 bool notify_child_disconnected_;
177 177
178 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; 178 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_;
179 }; 179 };
180 180
181 } // namespace content 181 } // namespace content
182 182
183 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 183 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698