blob: b1128e4cc51fcadee3bd52e4dfb9dffdaf3f3788 [file] [log] [blame]
// Copyright 2014 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_LINK_MANIFEST_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_LINK_MANIFEST_H_
#include "base/memory/scoped_refptr.h"
#include "third_party/blink/renderer/core/html/link_resource.h"
#include "third_party/blink/renderer/platform/wtf/allocator.h"
namespace blink {
class HTMLLinkElement;
class LinkManifest final : public LinkResource {
public:
static LinkManifest* Create(HTMLLinkElement* owner);
~LinkManifest() override;
// LinkResource
void Process() override;
LinkResourceType GetType() const override { return kManifest; }
bool HasLoaded() const override;
void OwnerRemoved() override;
private:
explicit LinkManifest(HTMLLinkElement* owner);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_LINK_MANIFEST_H_