blob: 92caf028ec2bc7e211d32d878c113ed7aa5ae9b3 [file] [log] [blame]
// Copyright 2016 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.
#include "chrome/renderer/autofill/fake_password_generation_driver.h"
#include <utility>
FakePasswordGenerationDriver::FakePasswordGenerationDriver() : binding_(this) {}
FakePasswordGenerationDriver::~FakePasswordGenerationDriver() = default;
void FakePasswordGenerationDriver::BindRequest(
autofill::mojom::PasswordGenerationDriverAssociatedRequest request) {
binding_.Bind(std::move(request));
}
void FakePasswordGenerationDriver::Flush() {
if (binding_.is_bound())
binding_.FlushForTesting();
}