| // Copyright 2018 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_SHOW_DETAILS_ACTION_H_ | 
 | #define COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_ACTIONS_SHOW_DETAILS_ACTION_H_ | 
 |  | 
 | #include <string> | 
 |  | 
 | #include "base/callback.h" | 
 | #include "base/macros.h" | 
 | #include "base/memory/weak_ptr.h" | 
 | #include "components/autofill_assistant/browser/actions/action.h" | 
 |  | 
 | namespace autofill_assistant { | 
 | // An action to show contextual information. | 
 | class ShowDetailsAction : public Action { | 
 |  public: | 
 |   explicit ShowDetailsAction(ActionDelegate* delegate, | 
 |                              const ActionProto& proto); | 
 |   ~ShowDetailsAction() override; | 
 |  | 
 |  private: | 
 |   // Overrides Action: | 
 |   void InternalProcessAction(ProcessActionCallback callback) override; | 
 |  | 
 |   DISALLOW_COPY_AND_ASSIGN(ShowDetailsAction); | 
 | }; | 
 |  | 
 | }  // namespace autofill_assistant | 
 | #endif  // COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_ACTIONS_SHOW_DETAILS_ACTION_H_ |