blob: bd21c50e8df1ce30fd35a7ef4297f4f37f091f96 [file] [log] [blame]
// 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.
#include "ios/net/url_test_util.h"
#include "url/gurl.h"
namespace net {
std::string GetContentAndFragmentForUrl(const GURL& url) {
return url.GetContent() + (url.has_ref() ? "#" + url.GetRef() : "");
}
} // namespace net