From f3a4f3047da53e82e76de03300899a2b86868737 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Fri, 21 Aug 2009 22:35:29 +0000 Subject: 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 --- chrome/browser/browser_process.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chrome/browser/browser_process.h') 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; -- cgit v1.1