blob: 298cff07345e1fae65072a32c6b8d11a7498d90d [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_ACTIONS_CONFIGURE_UI_STATE_ACTION_H_
#define COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_ACTIONS_CONFIGURE_UI_STATE_ACTION_H_
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "components/autofill_assistant/browser/actions/action.h"
namespace autofill_assistant {
// Action to configure the ui.
class ConfigureUiStateAction : public Action {
public:
explicit ConfigureUiStateAction(ActionDelegate* delegate,
const ActionProto& proto);
~ConfigureUiStateAction() override;
private:
// Overrides Action:
void InternalProcessAction(ProcessActionCallback callback) override;
base::WeakPtrFactory<ConfigureUiStateAction> weak_ptr_factory_{this};
DISALLOW_COPY_AND_ASSIGN(ConfigureUiStateAction);
};
} // namespace autofill_assistant
#endif // COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_ACTIONS_CONFIGURE_UI_STATE_ACTION_H_