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

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

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2005, 2006, 2008, 2014 Apple Inc. All rights reserved. 3 * Copyright (C) 2005, 2006, 2008, 2014 Apple Inc. All rights reserved.
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 5 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * Copyright (C) 2008 Holger Hans Peter Freyther 7 * Copyright (C) 2008 Holger Hans Peter Freyther
8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "core/inspector/ConsoleMessage.h" 56 #include "core/inspector/ConsoleMessage.h"
57 #include "core/loader/FrameLoader.h" 57 #include "core/loader/FrameLoader.h"
58 #include "core/loader/ImageLoader.h" 58 #include "core/loader/ImageLoader.h"
59 #include "core/svg/graphics/SVGImage.h" 59 #include "core/svg/graphics/SVGImage.h"
60 #include "core/xml/DocumentXSLT.h" 60 #include "core/xml/DocumentXSLT.h"
61 #include "core/xml/parser/SharedBufferReader.h" 61 #include "core/xml/parser/SharedBufferReader.h"
62 #include "core/xml/parser/XMLDocumentParserScope.h" 62 #include "core/xml/parser/XMLDocumentParserScope.h"
63 #include "core/xml/parser/XMLParserInput.h" 63 #include "core/xml/parser/XMLParserInput.h"
64 #include "platform/RuntimeEnabledFeatures.h" 64 #include "platform/RuntimeEnabledFeatures.h"
65 #include "platform/SharedBuffer.h" 65 #include "platform/SharedBuffer.h"
66 #include "platform/TraceEvent.h"
67 #include "platform/network/ResourceError.h" 66 #include "platform/network/ResourceError.h"
68 #include "platform/network/ResourceRequest.h" 67 #include "platform/network/ResourceRequest.h"
69 #include "platform/network/ResourceResponse.h" 68 #include "platform/network/ResourceResponse.h"
69 #include "platform/tracing/TraceEvent.h"
70 #include "platform/weborigin/SecurityOrigin.h" 70 #include "platform/weborigin/SecurityOrigin.h"
71 #include "wtf/AutoReset.h" 71 #include "wtf/AutoReset.h"
72 #include "wtf/PtrUtil.h" 72 #include "wtf/PtrUtil.h"
73 #include "wtf/StringExtras.h" 73 #include "wtf/StringExtras.h"
74 #include "wtf/Threading.h" 74 #include "wtf/Threading.h"
75 #include "wtf/Vector.h" 75 #include "wtf/Vector.h"
76 #include "wtf/text/UTF8.h" 76 #include "wtf/text/UTF8.h"
77 #include <libxml/catalog.h> 77 #include <libxml/catalog.h>
78 #include <libxml/parser.h> 78 #include <libxml/parser.h>
79 #include <libxml/parserInternals.h> 79 #include <libxml/parserInternals.h>
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 RefPtr<XMLParserContext> parser = 1707 RefPtr<XMLParserContext> parser =
1708 XMLParserContext::createStringParser(&sax, &state); 1708 XMLParserContext::createStringParser(&sax, &state);
1709 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; 1709 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />";
1710 parseChunk(parser->context(), parseString); 1710 parseChunk(parser->context(), parseString);
1711 finishParsing(parser->context()); 1711 finishParsing(parser->context());
1712 attrsOK = state.gotAttributes; 1712 attrsOK = state.gotAttributes;
1713 return state.attributes; 1713 return state.attributes;
1714 } 1714 }
1715 1715
1716 } // namespace blink 1716 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698