Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: chrome/utility/local_discovery/service_discovery_message_handler.h

Issue 19737002: Enable sandbox in local discovery utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..910a35cae214600486dc280c562dcfd0eafd7edb 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);

Powered by Google App Engine
This is Rietveld 408576698