Index: sandbox/mac/xpc_message_server.h |
diff --git a/sandbox/mac/xpc_message_server.h b/sandbox/mac/xpc_message_server.h |
index 28100974ea320bd8e1d31001362cdff9181ce33f..5f5a9fa24a5e9dbeccfd1735b1696397dd403c3d 100644 |
--- a/sandbox/mac/xpc_message_server.h |
+++ b/sandbox/mac/xpc_message_server.h |
@@ -7,6 +7,7 @@ |
#include <AvailabilityMacros.h> |
+#include "base/mac/dispatch_source_mach.h" |
#include "base/mac/scoped_mach_port.h" |
#include "base/memory/scoped_ptr.h" |
#include "sandbox/mac/message_server.h" |
@@ -27,8 +28,6 @@ XPC_EXPORT XPC_NONNULL1 void xpc_release(xpc_object_t object); |
namespace sandbox { |
-class DispatchSourceMach; |
- |
// An implementation of MessageServer that uses XPC pipes to read and write XPC |
// messages from a Mach port. |
class SANDBOX_EXPORT XPCMessageServer : public MessageServer { |
@@ -62,7 +61,7 @@ class SANDBOX_EXPORT XPCMessageServer : public MessageServer { |
base::mac::ScopedMachReceiveRight server_port_; |
// MACH_RECV dispatch source that handles the |server_port_|. |
- scoped_ptr<DispatchSourceMach> dispatch_source_; |
+ scoped_ptr<base::DispatchSourceMach> dispatch_source_; |
// The reply message, if one has been created. |
xpc_object_t reply_message_; |