// third_party/blink/public/mojom/contacts/contacts_manager.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTACTS_CONTACTS_MANAGER_MOJOM_TEST_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTACTS_CONTACTS_MANAGER_MOJOM_TEST_UTILS_H_

#include "third_party/blink/public/mojom/contacts/contacts_manager.mojom.h"
#include "third_party/blink/public/common/common_export.h"


namespace blink::mojom {


class BLINK_COMMON_EXPORT ContactsManagerInterceptorForTesting : public ContactsManager {
  virtual ContactsManager* GetForwardingInterface() = 0;
  void Select(bool multiple, bool include_names, bool include_emails, bool include_tel, bool include_addresses, bool include_icons, SelectCallback callback) override;
};
class BLINK_COMMON_EXPORT ContactsManagerAsyncWaiter {
 public:
  explicit ContactsManagerAsyncWaiter(ContactsManager* proxy);

  ContactsManagerAsyncWaiter(const ContactsManagerAsyncWaiter&) = delete;
  ContactsManagerAsyncWaiter& operator=(const ContactsManagerAsyncWaiter&) = delete;

  ~ContactsManagerAsyncWaiter();
  void Select(
      bool multiple, bool include_names, bool include_emails, bool include_tel, bool include_addresses, bool include_icons, std::optional<std::vector<ContactInfoPtr>>* out_contacts);
  std::optional<std::vector<ContactInfoPtr>> Select(bool multiple, bool include_names, bool include_emails, bool include_tel, bool include_addresses, bool include_icons);

 private:
  ContactsManager* const proxy_;
};




}  // blink::mojom

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTACTS_CONTACTS_MANAGER_MOJOM_TEST_UTILS_H_