Lines Matching refs:Command
13 #include <weave/command.h>
105 base::Callback<void(const std::weak_ptr<Command>& command)>;
110 // |command_name| is the full command name of the command to handle. e.g.
111 // "base.reboot". Each command can have no more than one handler.
114 // No new command handlers can be set after default handler was set.
119 // Adds a new command to the command queue.
120 virtual bool AddCommand(const base::DictionaryValue& command,
124 // Finds a command by the command |id|. Returns nullptr if the command with
127 virtual Command* FindCommand(const std::string& id) = 0;
184 // |command_name| is the full command name of the command to handle. e.g.
185 // "base.reboot". Each command can have no more than one handler.
187 // No new command handlers can be set after default handler was set.