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

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

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: all tests pass Created 4 years, 6 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. (http://www.torchmo bile.com/) 8 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/xml/DocumentXSLT.h" 58 #include "core/xml/DocumentXSLT.h"
59 #include "core/xml/parser/SharedBufferReader.h" 59 #include "core/xml/parser/SharedBufferReader.h"
60 #include "core/xml/parser/XMLDocumentParserScope.h" 60 #include "core/xml/parser/XMLDocumentParserScope.h"
61 #include "core/xml/parser/XMLParserInput.h" 61 #include "core/xml/parser/XMLParserInput.h"
62 #include "platform/RuntimeEnabledFeatures.h" 62 #include "platform/RuntimeEnabledFeatures.h"
63 #include "platform/SharedBuffer.h" 63 #include "platform/SharedBuffer.h"
64 #include "platform/TraceEvent.h" 64 #include "platform/TraceEvent.h"
65 #include "platform/network/ResourceError.h" 65 #include "platform/network/ResourceError.h"
66 #include "platform/network/ResourceRequest.h" 66 #include "platform/network/ResourceRequest.h"
67 #include "platform/network/ResourceResponse.h" 67 #include "platform/network/ResourceResponse.h"
68 #include "platform/v8_inspector/public/ConsoleTypes.h"
69 #include "platform/weborigin/SecurityOrigin.h" 68 #include "platform/weborigin/SecurityOrigin.h"
70 #include "wtf/StringExtras.h" 69 #include "wtf/StringExtras.h"
71 #include "wtf/TemporaryChange.h" 70 #include "wtf/TemporaryChange.h"
72 #include "wtf/Threading.h" 71 #include "wtf/Threading.h"
73 #include "wtf/Vector.h" 72 #include "wtf/Vector.h"
74 #include "wtf/text/UTF8.h" 73 #include "wtf/text/UTF8.h"
75 #include <libxml/catalog.h> 74 #include <libxml/catalog.h>
76 #include <libxml/parser.h> 75 #include <libxml/parser.h>
77 #include <libxml/parserInternals.h> 76 #include <libxml/parserInternals.h>
78 #include <libxslt/xslt.h> 77 #include <libxslt/xslt.h>
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 sax.initialized = XML_SAX2_MAGIC; 1638 sax.initialized = XML_SAX2_MAGIC;
1640 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state); 1639 RefPtr<XMLParserContext> parser = XMLParserContext::createStringParser(&sax, &state);
1641 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; 1640 String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />";
1642 parseChunk(parser->context(), parseString); 1641 parseChunk(parser->context(), parseString);
1643 finishParsing(parser->context()); 1642 finishParsing(parser->context());
1644 attrsOK = state.gotAttributes; 1643 attrsOK = state.gotAttributes;
1645 return state.attributes; 1644 return state.attributes;
1646 } 1645 }
1647 1646
1648 } // namespace blink 1647 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698