blob: e841ee5d1618b236d823422298165cb07d1bae0b [file] [log] [blame]
// Copyright 2016 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 "core/fetch/testing/WorkerInternalsFetch.h"
#include "core/fetch/Response.h"
#include "platform/wtf/Vector.h"
namespace blink {
Vector<String> WorkerInternalsFetch::getInternalResponseURLList(
WorkerInternals& internals,
Response* response) {
if (!response)
return Vector<String>();
Vector<String> url_list;
for (const auto& url : response->InternalURLList())
return url_list;
} // namespace blink