Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.h

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const AtomicString& rel() const; 57 const AtomicString& rel() const;
58 String media() const { return m_media; } 58 String media() const { return m_media; }
59 String typeValue() const { return m_type; } 59 String typeValue() const { return m_type; }
60 String asValue() const { return m_as; } 60 String asValue() const { return m_as; }
61 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } 61 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; }
62 const LinkRelAttribute& relAttribute() const { return m_relAttribute; } 62 const LinkRelAttribute& relAttribute() const { return m_relAttribute; }
63 DOMTokenList& relList() const { 63 DOMTokenList& relList() const {
64 return static_cast<DOMTokenList&>(*m_relList); 64 return static_cast<DOMTokenList&>(*m_relList);
65 } 65 }
66 String scope() const { return m_scope; } 66 String scope() const { return m_scope; }
67 bool useCache() const { return m_useCache; }
67 68
68 const AtomicString& type() const; 69 const AtomicString& type() const;
69 70
70 IconType getIconType() const; 71 IconType getIconType() const;
71 72
72 // the icon sizes as parsed from the HTML attribute 73 // the icon sizes as parsed from the HTML attribute
73 const Vector<IntSize>& iconSizes() const; 74 const Vector<IntSize>& iconSizes() const;
74 75
75 bool async() const; 76 bool async() const;
76 77
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 155
155 String m_type; 156 String m_type;
156 String m_as; 157 String m_as;
157 String m_media; 158 String m_media;
158 ReferrerPolicy m_referrerPolicy; 159 ReferrerPolicy m_referrerPolicy;
159 Member<DOMTokenList> m_sizes; 160 Member<DOMTokenList> m_sizes;
160 Vector<IntSize> m_iconSizes; 161 Vector<IntSize> m_iconSizes;
161 TraceWrapperMember<RelList> m_relList; 162 TraceWrapperMember<RelList> m_relList;
162 LinkRelAttribute m_relAttribute; 163 LinkRelAttribute m_relAttribute;
163 String m_scope; 164 String m_scope;
165 bool m_useCache;
164 166
165 bool m_createdByParser; 167 bool m_createdByParser;
166 }; 168 };
167 169
168 } // namespace blink 170 } // namespace blink
169 171
170 #endif // HTMLLinkElement_h 172 #endif // HTMLLinkElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698