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

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

Issue 1413233005: tracing: Report ResourceClients and the reason for not deletable for web-caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected haraken's comments. Created 5 years, 1 month 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) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 private: 74 private:
75 HTMLBodyElement* htmlBodyElement() const; 75 HTMLBodyElement* htmlBodyElement() const;
76 76
77 const AtomicString& bodyAttributeValue(const QualifiedName&) const; 77 const AtomicString& bodyAttributeValue(const QualifiedName&) const;
78 void setBodyAttribute(const QualifiedName&, const AtomicString&); 78 void setBodyAttribute(const QualifiedName&, const AtomicString&);
79 79
80 void addItemToMap(HashCountedSet<AtomicString>&, const AtomicString&); 80 void addItemToMap(HashCountedSet<AtomicString>&, const AtomicString&);
81 void removeItemFromMap(HashCountedSet<AtomicString>&, const AtomicString&); 81 void removeItemFromMap(HashCountedSet<AtomicString>&, const AtomicString&);
82 82
83 String debugName() const override { return "HTMLDocument"; }
84
83 HashCountedSet<AtomicString> m_namedItemCounts; 85 HashCountedSet<AtomicString> m_namedItemCounts;
84 HashCountedSet<AtomicString> m_extraNamedItemCounts; 86 HashCountedSet<AtomicString> m_extraNamedItemCounts;
85 }; 87 };
86 88
87 inline bool HTMLDocument::hasNamedItem(const AtomicString& name) 89 inline bool HTMLDocument::hasNamedItem(const AtomicString& name)
88 { 90 {
89 return m_namedItemCounts.contains(name); 91 return m_namedItemCounts.contains(name);
90 } 92 }
91 93
92 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) 94 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name)
93 { 95 {
94 return m_extraNamedItemCounts.contains(name); 96 return m_extraNamedItemCounts.contains(name);
95 } 97 }
96 98
97 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); 99 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument);
98 100
99 } // namespace blink 101 } // namespace blink
100 102
101 #endif // HTMLDocument_h 103 #endif // HTMLDocument_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceClient.h ('k') | third_party/WebKit/Source/core/html/HTMLImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698