1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 #include "core/html/LinkResource.h"
9 #include "wtf/FastAllocBase.h"
10 #include "wtf/PassOwnPtr.h"
11 #include "wtf/RefPtr.h"
15 class HTMLLinkElement;
17 class LinkManifest FINAL : public LinkResource {
18 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
21 static PassOwnPtrWillBeRawPtr<LinkManifest> create(HTMLLinkElement* owner);
23 virtual ~LinkManifest();
26 virtual void process() OVERRIDE;
27 virtual Type type() const OVERRIDE { return Manifest; }
28 virtual bool hasLoaded() const OVERRIDE;
29 virtual void ownerRemoved() OVERRIDE;
32 explicit LinkManifest(HTMLLinkElement* owner);
37 #endif // LinkManifest_h