Commit 7af53141 authored by Mathias Carlen's avatar Mathias Carlen Committed by Commit Bot

[Autofill Assistant] Move static member to cc.

Before this patch, building desktop chrome using code from
autofill_assistant doesn't link. This patch moves the static member in
wait for navigation to the cc file to resolve that.

R=sandromaggi@google.com

Bug: b/143736397
Change-Id: I9c0c70657037b66316dff42d07494c6536956596
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975530Reviewed-by: default avatarSandro Maggi <sandromaggi@google.com>
Commit-Queue: Mathias Carlen <mcarlen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726320}
parent 8a0a8f8a
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#include "components/autofill_assistant/browser/actions/action_delegate.h" #include "components/autofill_assistant/browser/actions/action_delegate.h"
namespace autofill_assistant { namespace autofill_assistant {
namespace {
constexpr base::TimeDelta kDefaultTimeout = base::TimeDelta::FromSeconds(20);
} // namespace
WaitForNavigationAction::WaitForNavigationAction(ActionDelegate* delegate, WaitForNavigationAction::WaitForNavigationAction(ActionDelegate* delegate,
const ActionProto& proto) const ActionProto& proto)
......
...@@ -22,9 +22,6 @@ class WaitForNavigationAction : public Action { ...@@ -22,9 +22,6 @@ class WaitForNavigationAction : public Action {
~WaitForNavigationAction() override; ~WaitForNavigationAction() override;
private: private:
static constexpr base::TimeDelta kDefaultTimeout =
base::TimeDelta::FromSeconds(20);
// Overrides Action: // Overrides Action:
void InternalProcessAction(ProcessActionCallback callback) override; void InternalProcessAction(ProcessActionCallback callback) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment