Lines Matching refs:Callback
25 #include <base/callback.h>
108 typedef base::Callback<void(const IPConfigRefPtr&, bool)> UpdateCallback;
109 typedef base::Callback<void(const IPConfigRefPtr&)> Callback;
129 // Registers a callback that's executed every time the configuration
130 // properties are acquired. Takes ownership of |callback|. Pass NULL
131 // to remove a callback. The callback's first argument is a pointer to this IP
133 // configurations. The callback's second argument is a boolean indicating
135 void RegisterUpdateCallback(const UpdateCallback& callback);
137 // Registers a callback that's executed every time the configuration
138 // properties fail to be acquired. Takes ownership of |callback|. Pass NULL
139 // to remove a callback. The callback's argument is a pointer to this IP
142 void RegisterFailureCallback(const Callback& callback);
144 // Registers a callback that's executed every time the Refresh method
145 // on the ipconfig is called. Takes ownership of |callback|. Pass NULL
146 // to remove a callback. The callback's argument is a pointer to this IP
149 void RegisterRefreshCallback(const Callback& callback);
151 // Registers a callback that's executed every time the the lease exipres
153 // Takes ownership of |callback|. Pass NULL to remove a callback. The
154 // callback's argument is a pointer to this IP configuration instance
156 void RegisterExpireCallback(const Callback& callback);
252 Callback failure_callback_;
253 Callback refresh_callback_;
254 Callback expire_callback_;