Lines Matching refs:Callback
22 #include <base/callback.h>
42 // Callback type for AddCommandHandler.
44 base::Callback<void(std::unique_ptr<Command> command)>;
46 // Callback type for AddPairingInfoListener.
53 base::Callback<void(const PairingInfo* pairing_info)>;
72 const CommandHandlerCallback& callback) = 0;
90 // Specifies a callback to be invoked when the device enters/exist pairing
94 virtual void SetPairingInfoListener(const PairingInfoCallback& callback) = 0;
113 base::Callback<void(const std::weak_ptr<Service>& service)>;
117 // weaved daemon. Upon connection having been established, a |callback| is
119 // The service instance provided to the callback is a weak pointer to the
122 // |callback| is called again with a new instance of the service.
125 // |callback| will be invoked with the new service instance when connection
127 // invocation of the callback (along with registering command handlers, etc).
133 const ConnectionCallback& callback) WARN_UNUSED_RESULT;