fake_url_forwarder_configurator.cc 768 B

123456789101112131415161718192021222324
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "remoting/host/remote_open_url/fake_url_forwarder_configurator.h"
  5. namespace remoting {
  6. FakeUrlForwarderConfigurator::FakeUrlForwarderConfigurator() = default;
  7. FakeUrlForwarderConfigurator::~FakeUrlForwarderConfigurator() = default;
  8. void FakeUrlForwarderConfigurator::IsUrlForwarderSetUp(
  9. IsUrlForwarderSetUpCallback callback) {
  10. std::move(callback).Run(false);
  11. }
  12. void FakeUrlForwarderConfigurator::SetUpUrlForwarder(
  13. const SetUpUrlForwarderCallback& callback) {
  14. callback.Run(
  15. protocol::UrlForwarderControl::SetUpUrlForwarderResponse::FAILED);
  16. }
  17. } // namespace remoting