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

Side by Side Diff: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. 3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void append(const String&) override; 114 void append(const String&) override;
115 void finish() override; 115 void finish() override;
116 bool isWaitingForScripts() const override; 116 bool isWaitingForScripts() const override;
117 void stopParsing() override; 117 void stopParsing() override;
118 void detach() override; 118 void detach() override;
119 OrdinalNumber lineNumber() const override; 119 OrdinalNumber lineNumber() const override;
120 OrdinalNumber columnNumber() const; 120 OrdinalNumber columnNumber() const;
121 121
122 // from ResourceClient 122 // from ResourceClient
123 void notifyFinished(Resource*) override; 123 void notifyFinished(Resource*) override;
124 String debugName() const override { return "XMLDocumentParser"; }
124 125
125 void end(); 126 void end();
126 127
127 void pauseParsing(); 128 void pauseParsing();
128 void resumeParsing(); 129 void resumeParsing();
129 130
130 bool appendFragmentSource(const String&); 131 bool appendFragmentSource(const String&);
131 132
132 public: 133 public:
133 // Callbacks from parser SAX 134 // Callbacks from parser SAX
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 PrefixForNamespaceMap m_prefixToNamespaceMap; 196 PrefixForNamespaceMap m_prefixToNamespaceMap;
196 SegmentedString m_pendingSrc; 197 SegmentedString m_pendingSrc;
197 }; 198 };
198 199
199 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url) ; 200 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url) ;
200 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); 201 HashMap<String, String> parseAttributes(const String&, bool& attrsOK);
201 202
202 } // namespace blink 203 } // namespace blink
203 204
204 #endif // XMLDocumentParser_h 205 #endif // XMLDocumentParser_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGUseElement.h ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698