summaryrefslogtreecommitdiffstats
path: root/chrome/browser/nacl_host/nacl_broker_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/nacl_host/nacl_broker_service.h')
-rw-r--r--chrome/browser/nacl_host/nacl_broker_service.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/nacl_host/nacl_broker_service.h b/chrome/browser/nacl_host/nacl_broker_service.h
index 8518cd4..3eb40f6 100644
--- a/chrome/browser/nacl_host/nacl_broker_service.h
+++ b/chrome/browser/nacl_host/nacl_broker_service.h
@@ -28,10 +28,6 @@ class NaClBrokerService {
bool LaunchLoader(NaClProcessHost* client,
const std::wstring& loader_channel_id);
- // Called by NaClBrokerHost to notify the service
- // that the broker was launched.
- void OnBrokerStarted();
-
// Called by NaClBrokerHost to notify the service that a loader was launched.
void OnLoaderLaunched(const std::wstring& channel_id,
base::ProcessHandle handle);
@@ -39,9 +35,6 @@ class NaClBrokerService {
// Called by NaClProcessHost when a loader process is terminated
void OnLoaderDied();
- // Called by NaClBrokerHost when the broker process is terminated.
- void OnBrokerDied();
-
private:
typedef std::map<std::wstring, NaClProcessHost*>
PendingLaunchesMap;
@@ -51,8 +44,8 @@ class NaClBrokerService {
NaClBrokerService();
~NaClBrokerService() {}
- bool broker_started_;
- scoped_ptr<NaClBrokerHost> broker_host_;
+ NaClBrokerHost* GetBrokerHost();
+
int loaders_running_;
bool initialized_;
ResourceDispatcherHost* resource_dispatcher_host_;