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

Side by Side Diff: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h

Issue 2513363002: Remove WTF_ATTRIBUTE_PRINTF. (Closed)
Patch Set: Created 4 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. 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
7 * (http://www.torchmobile.com/) 7 * (http://www.torchmobile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 void end(); 133 void end();
134 134
135 void pauseParsing(); 135 void pauseParsing();
136 void resumeParsing(); 136 void resumeParsing();
137 137
138 bool appendFragmentSource(const String&); 138 bool appendFragmentSource(const String&);
139 139
140 public: 140 public:
141 // Callbacks from parser SAX 141 // Callbacks from parser SAX
142 void error(XMLErrors::ErrorType, const char* message, va_list args) 142 PRINTF_FORMAT(3, 0)
143 WTF_ATTRIBUTE_PRINTF(3, 0); 143 void error(XMLErrors::ErrorType, const char* message, va_list args);
144 void startElementNs(const AtomicString& localName, 144 void startElementNs(const AtomicString& localName,
145 const AtomicString& prefix, 145 const AtomicString& prefix,
146 const AtomicString& uri, 146 const AtomicString& uri,
147 int namespaceCount, 147 int namespaceCount,
148 const xmlChar** namespaces, 148 const xmlChar** namespaces,
149 int attributeCount, 149 int attributeCount,
150 int defaultedCount, 150 int defaultedCount,
151 const xmlChar** libxmlAttributes); 151 const xmlChar** libxmlAttributes);
152 void endElementNs(); 152 void endElementNs();
153 void characters(const xmlChar* chars, int length); 153 void characters(const xmlChar* chars, int length);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 }; 219 };
220 220
221 xmlDocPtr xmlDocPtrForString(Document*, 221 xmlDocPtr xmlDocPtrForString(Document*,
222 const String& source, 222 const String& source,
223 const String& url); 223 const String& url);
224 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); 224 HashMap<String, String> parseAttributes(const String&, bool& attrsOK);
225 225
226 } // namespace blink 226 } // namespace blink
227 227
228 #endif // XMLDocumentParser_h 228 #endif // XMLDocumentParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698