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

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

Issue 10879093: Add !defined(OS_IOS) to defined(OS_MACOS) block around GetPortProvider. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | no next file » | 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/process_util.h" 8 #include "base/process_util.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Sets the user-visible name of the process. 57 // Sets the user-visible name of the process.
58 virtual void SetName(const string16& name) = 0; 58 virtual void SetName(const string16& name) = 0;
59 59
60 // Set the handle of the process. BrowserChildProcessHost will do this when 60 // Set the handle of the process. BrowserChildProcessHost will do this when
61 // the Launch method is used to start the process. However if the owner 61 // the Launch method is used to start the process. However if the owner
62 // of this object doesn't call Launch and starts the process in another way, 62 // of this object doesn't call Launch and starts the process in another way,
63 // they need to call this method so that the process handle is associated with 63 // they need to call this method so that the process handle is associated with
64 // this object. 64 // this object.
65 virtual void SetHandle(base::ProcessHandle handle) = 0; 65 virtual void SetHandle(base::ProcessHandle handle) = 0;
66 66
67 #if defined(OS_MACOSX) 67 #if defined(OS_MACOSX) && !defined(OS_IOS)
68 // Returns a PortProvider used to get process metrics for child processes. 68 // Returns a PortProvider used to get process metrics for child processes.
69 static base::ProcessMetrics::PortProvider* GetPortProvider(); 69 static base::ProcessMetrics::PortProvider* GetPortProvider();
70 #endif 70 #endif
71 }; 71 };
72 72
73 }; // namespace content 73 }; // namespace content
74 74
75 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ 75 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698