Lines Matching refs:Callback
11 #include "base/callback.h"
20 // The callback will get called whenever the file or directory referenced by the
30 // Callback type for Watch(). |path| points to the file that was updated,
32 // that case, the callback won't be invoked again.
33 typedef base::Callback<void(const FilePath& path, bool error)> Callback;
43 const Callback& callback) WARN_UNUSED_RESULT = 0;
86 // A callback that always cleans up the PlatformDelegate, either when executed
94 // Invokes |callback| whenever updates to |path| are detected. This should be
96 // true, to watch |path| and its children. The callback will be invoked on
101 bool Watch(const FilePath& path, bool recursive, const Callback& callback);