| Index: chrome/utility/local_discovery/service_discovery_message_handler.h
|
| diff --git a/chrome/utility/local_discovery/service_discovery_message_handler.h b/chrome/utility/local_discovery/service_discovery_message_handler.h
|
| index 8b4bd1a7379190894c5436f9f23c1b0c8b1c76f1..c1b9130ad4cb236fa5a2c88155c3e376fee209ea 100644
|
| --- a/chrome/utility/local_discovery/service_discovery_message_handler.h
|
| +++ b/chrome/utility/local_discovery/service_discovery_message_handler.h
|
| @@ -28,12 +28,14 @@ class ServiceDiscoveryMessageHandler : public chrome::UtilityMessageHandler {
|
| // UtilityMessageHandler implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|
| + static void PreSandboxStartup();
|
| +
|
| private:
|
| typedef std::map<uint64, linked_ptr<ServiceWatcher> > ServiceWatchers;
|
| typedef std::map<uint64, linked_ptr<ServiceResolver> > ServiceResolvers;
|
|
|
| // Lazy initializes ServiceDiscoveryClient.
|
| - void Initialize();
|
| + bool Initialize();
|
|
|
| // IPC message handlers.
|
| void OnStartWatcher(uint64 id, const std::string& service_type);
|
| @@ -62,3 +64,4 @@ class ServiceDiscoveryMessageHandler : public chrome::UtilityMessageHandler {
|
| } // namespace local_discovery
|
|
|
| #endif // CHROME_UTILITY_LOCAL_DISCOVERY_SERVICE_DISCOVERY_MESSAGE_HANDLER_H_
|
| +
|
|
|