File tree Expand file tree Collapse file tree
base/cvd/cuttlefish/host/commands/cvd/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,14 +55,12 @@ cf_cc_library(
5555cf_cc_library (
5656 name = "nesting_commands" ,
5757 srcs = [
58- "command_sequence.cpp" ,
5958 "request_context.cpp" ,
6059 "//cuttlefish/host/commands/cvd/cli/commands:create.cpp" ,
6160 "//cuttlefish/host/commands/cvd/cli/commands:help.cpp" ,
6261 "//cuttlefish/host/commands/cvd/cli/commands:load_configs.cpp" ,
6362 ],
6463 hdrs = [
65- "command_sequence.h" ,
6664 "request_context.h" ,
6765 "//cuttlefish/host/commands/cvd/cli/commands:create.h" ,
6866 "//cuttlefish/host/commands/cvd/cli/commands:help.h" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2323#include < fmt/ranges.h> // NOLINT(misc-include-cleaner): version difference
2424
2525#include " cuttlefish/host/commands/cvd/cli/command_request.h"
26- #include " cuttlefish/host/commands/cvd/cli/command_sequence.h"
2726#include " cuttlefish/host/commands/cvd/cli/commands/bugreport.h"
2827#include " cuttlefish/host/commands/cvd/cli/commands/cache.h"
2928#include " cuttlefish/host/commands/cvd/cli/commands/clear.h"
@@ -80,8 +79,7 @@ std::vector<std::string> GetPossibleCommands(
8079} // namespace
8180
8281RequestContext::RequestContext (InstanceManager& instance_manager,
83- InstanceLockFileManager& lock_file_manager)
84- : command_sequence_executor_(this ->request_handlers_) {
82+ InstanceLockFileManager& lock_file_manager) {
8583 request_handlers_.emplace_back (NewCvdCacheCommandHandler ());
8684
8785 request_handlers_.emplace_back (NewCvdCreateCommandHandler (instance_manager));
Original file line number Diff line number Diff line change 2020#include < vector>
2121
2222#include " cuttlefish/host/commands/cvd/cli/command_request.h"
23- #include " cuttlefish/host/commands/cvd/cli/command_sequence.h"
2423#include " cuttlefish/host/commands/cvd/cli/commands/command_handler.h"
2524#include " cuttlefish/host/commands/cvd/instances/instance_manager.h"
2625#include " cuttlefish/host/commands/cvd/instances/lock/instance_lock.h"
@@ -36,7 +35,6 @@ class RequestContext {
3635
3736 private:
3837 std::vector<std::unique_ptr<CvdCommandHandler>> request_handlers_;
39- CommandSequenceExecutor command_sequence_executor_;
4038};
4139
4240Result<CvdCommandHandler*> RequestHandler (
You can’t perform that action at this time.
0 commit comments