blob: 04528b6184cdc716a6f08b00267ae8b540a07484 [file] [log] [blame]
// Copyright 2019 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 "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.ref() : "");
}
} // namespace net