summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_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/test/testing_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/test/testing_browser_process.h')
-rw-r--r--chrome/test/testing_browser_process.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h
index b4bc3fc..bdfe555 100644
--- a/chrome/test/testing_browser_process.h
+++ b/chrome/test/testing_browser_process.h
@@ -78,10 +78,15 @@ class TestingBrowserProcess : public BrowserProcess {
return NULL;
}
+#if defined(OS_WIN)
virtual sandbox::BrokerServices* broker_services() {
return NULL;
}
+ virtual void InitBrokerServices(sandbox::BrokerServices*) {
+ }
+#endif
+
virtual DebuggerWrapper* debugger_wrapper() {
return NULL;
}
@@ -102,9 +107,6 @@ class TestingBrowserProcess : public BrowserProcess {
return NULL;
}
- virtual void InitBrokerServices(sandbox::BrokerServices*) {
- }
-
virtual AutomationProviderList* InitAutomationProviderList() {
return NULL;
}