blob: ff4576854ccd7133a9d27d7d0661c64e9d3d21c0 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DIRECT_SOCKETS_CHROME_DIRECT_SOCKETS_DELEGATE_H_
#define CHROME_BROWSER_DIRECT_SOCKETS_CHROME_DIRECT_SOCKETS_DELEGATE_H_
#include "content/public/browser/direct_sockets_delegate.h"
class ChromeDirectSocketsDelegate : public content::DirectSocketsDelegate {
public:
// content::DirectSocketsDelegate:
bool ValidateAddressAndPort(content::BrowserContext* browser_context,
const GURL& lock_url,
const std::string& address,
uint16_t port,
ProtocolType protocol) const override;
};
#endif // CHROME_BROWSER_DIRECT_SOCKETS_CHROME_DIRECT_SOCKETS_DELEGATE_H_