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

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

Issue 1815563004: Remove iOS ifdefs in src/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 9 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_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/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/public/common/process_type.h" 14 #include "content/public/common/process_type.h"
15 #include "ipc/ipc_sender.h" 15 #include "ipc/ipc_sender.h"
16 16
17 #if defined(OS_MACOSX) && !defined(OS_IOS) 17 #if defined(OS_MACOSX)
18 #include "base/process/port_provider_mac.h" 18 #include "base/process/port_provider_mac.h"
19 #endif 19 #endif
20 20
21 namespace base { 21 namespace base {
22 class CommandLine; 22 class CommandLine;
23 class FilePath; 23 class FilePath;
24 } 24 }
25 25
26 namespace content { 26 namespace content {
27 27
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // the Launch method is used to start the process. However if the owner 78 // the Launch method is used to start the process. However if the owner
79 // of this object doesn't call Launch and starts the process in another way, 79 // of this object doesn't call Launch and starts the process in another way,
80 // they need to call this method so that the process handle is associated with 80 // they need to call this method so that the process handle is associated with
81 // this object. 81 // this object.
82 virtual void SetHandle(base::ProcessHandle handle) = 0; 82 virtual void SetHandle(base::ProcessHandle handle) = 0;
83 83
84 // Get the Mojo service registry connected to the child process. Returns 84 // Get the Mojo service registry connected to the child process. Returns
85 // nullptr if no service registry exists. 85 // nullptr if no service registry exists.
86 virtual ServiceRegistry* GetServiceRegistry() = 0; 86 virtual ServiceRegistry* GetServiceRegistry() = 0;
87 87
88 #if defined(OS_MACOSX) && !defined(OS_IOS) 88 #if defined(OS_MACOSX)
89 // Returns a PortProvider used to get the task port for child processes. 89 // Returns a PortProvider used to get the task port for child processes.
90 static base::PortProvider* GetPortProvider(); 90 static base::PortProvider* GetPortProvider();
91 #endif 91 #endif
92 }; 92 };
93 93
94 }; // namespace content 94 }; // namespace content
95 95
96 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 96 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/app/content_main_delegate.cc ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698