summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.cc
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_impl.cc
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_impl.cc')
-rw-r--r--chrome/browser/browser_process_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 8024370..68a3dc3 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -123,8 +123,10 @@ BrowserProcessImpl::BrowserProcessImpl(const CommandLine& command_line)
created_db_thread_(false),
created_profile_manager_(false),
created_local_state_(false),
+#if defined(OS_WIN)
initialized_broker_services_(false),
broker_services_(NULL),
+#endif // defined(OS_WIN)
created_icon_manager_(false),
created_debugger_wrapper_(false),
created_devtools_manager_(false),
@@ -392,6 +394,7 @@ void BrowserProcessImpl::CreateLocalState() {
local_state_.reset(new PrefService(local_state_path, file_thread()));
}
+#if defined(OS_WIN)
void BrowserProcessImpl::InitBrokerServices(
sandbox::BrokerServices* broker_services) {
DCHECK(!initialized_broker_services_ && broker_services_ == NULL);
@@ -399,6 +402,7 @@ void BrowserProcessImpl::InitBrokerServices(
initialized_broker_services_ = true;
broker_services_ = broker_services;
}
+#endif // defined(OS_WIN)
void BrowserProcessImpl::CreateIconManager() {
DCHECK(!created_icon_manager_ && icon_manager_.get() == NULL);