blob: a1d527dc942dbadc7cbe236e6c56ec61ccdd67b5 [file] [log] [blame]
// Copyright 2017 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 "third_party/blink/renderer/core/trustedtypes/trusted_script_url.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
TrustedScriptURL::TrustedScriptURL(const KURL& url) : url_(url) {}
String TrustedScriptURL::toString() const {
return url_.GetString();
}
} // namespace blink