summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 22:35:29 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 22:35:29 +0000
commitf3a4f3047da53e82e76de03300899a2b86868737 (patch)
tree253f6cf9211b928623df0ec0389c492b96e9f0ec /chrome/browser/browser_process.h
parent04e29f422eb66e704fea9a64abd9295f00cc9124 (diff)
downloadchromium_src-f3a4f3047da53e82e76de03300899a2b86868737.zip
chromium_src-f3a4f3047da53e82e76de03300899a2b86868737.tar.gz
chromium_src-f3a4f3047da53e82e76de03300899a2b86868737.tar.bz2
Mask the BrokerServices class behind an ifdef for Windows only; Linux and Mac have their own sandboxes. Remove the corresponding stubs from temp_scaffolding_stubs.h.
BUG=none TEST=none Review URL: http://codereview.chromium.org/173228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r--chrome/browser/browser_process.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index ba24f6c..5915169 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -34,9 +34,13 @@ namespace base {
class Thread;
class WaitableEvent;
}
+
+#if defined(OS_WIN)
namespace sandbox {
class BrokerServices;
}
+#endif // defined(OS_WIN)
+
namespace printing {
class PrintJobManager;
}
@@ -103,13 +107,15 @@ class BrowserProcess {
virtual base::Thread* background_x11_thread() = 0;
#endif
+#if defined(OS_WIN)
virtual sandbox::BrokerServices* broker_services() = 0;
+ virtual void InitBrokerServices(sandbox::BrokerServices*) = 0;
+#endif // defined(OS_WIN)
virtual IconManager* icon_manager() = 0;
virtual ThumbnailGenerator* GetThumbnailGenerator() = 0;
- virtual void InitBrokerServices(sandbox::BrokerServices*) = 0;
virtual AutomationProviderList* InitAutomationProviderList() = 0;
virtual void InitDebuggerWrapper(int port) = 0;