blob: f41b8934ff7bc17f5d2f0cc4242bb83fd8ac8704 [file] [log] [blame]
// Copyright 2021 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 "services/network/public/cpp/url_util.h"
#include "url/gurl.h"
namespace network {
bool IsURLHandledByNetworkService(const GURL& url) {
return (url.SchemeIsHTTPOrHTTPS() || url.SchemeIsWSOrWSS());
}
} // namespace network