blob: 67a1290c4cfb752f881dbe0c08e307f90c45dcd4 [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_TEST_UTIL_H_
#define COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_TEST_UTIL_H_
#include <string>
#include <utility>
#include "components/autofill_assistant/browser/service.pb.h"
namespace autofill_assistant {
// This comparison operator is only suitable for comparing protos created in
// tests, not for comparing protos received externally.
bool operator==(const google::protobuf::MessageLite& proto_a,
const google::protobuf::MessageLite& proto_b);
bool operator==(const autofill_assistant::ScriptParameterProto& proto,
const std::pair<std::string, std::string>& pair);
} // namespace autofill_assistant
#endif // COMPONENTS_AUTOFILL_ASSISTANT_BROWSER_TEST_UTIL_H_