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

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

Issue 2447613004: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process 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
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | content/test/BUILD.gn » ('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_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
7 7
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // the Launch method is used to start the process. However if the owner 97 // the Launch method is used to start the process. However if the owner
98 // of this object doesn't call Launch and starts the process in another way, 98 // of this object doesn't call Launch and starts the process in another way,
99 // they need to call this method so that the process handle is associated with 99 // they need to call this method so that the process handle is associated with
100 // this object. 100 // this object.
101 virtual void SetHandle(base::ProcessHandle handle) = 0; 101 virtual void SetHandle(base::ProcessHandle handle) = 0;
102 102
103 #if defined(OS_MACOSX) 103 #if defined(OS_MACOSX)
104 // Returns a PortProvider used to get the task port for child processes. 104 // Returns a PortProvider used to get the task port for child processes.
105 static base::PortProvider* GetPortProvider(); 105 static base::PortProvider* GetPortProvider();
106 #endif 106 #endif
107
108 class ConnectionFilterImpl;
107 }; 109 };
108 110
109 }; // namespace content 111 }; // namespace content
110 112
111 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 113 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698