OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "bindings/core/v8/DocumentWriteEvaluator.h" | 5 #include "bindings/core/v8/DocumentWriteEvaluator.h" |
6 | 6 |
7 #include "bindings/core/v8/ScriptSourceCode.h" | 7 #include "bindings/core/v8/ScriptSourceCode.h" |
8 #include "bindings/core/v8/V8BindingMacros.h" | 8 #include "bindings/core/v8/V8BindingMacros.h" |
9 #include "bindings/core/v8/V8ScriptRunner.h" | 9 #include "bindings/core/v8/V8ScriptRunner.h" |
| 10 #include "core/frame/Location.h" |
10 #include "core/html/parser/HTMLParserThread.h" | 11 #include "core/html/parser/HTMLParserThread.h" |
11 #include "platform/TraceEvent.h" | 12 #include "platform/TraceEvent.h" |
12 #include "wtf/text/StringUTF8Adaptor.h" | 13 #include "wtf/text/StringUTF8Adaptor.h" |
13 | 14 |
14 #include <v8.h> | 15 #include <v8.h> |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 | 18 |
18 namespace { | 19 namespace { |
19 | 20 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 evaluate(scriptSource); | 149 evaluate(scriptSource); |
149 return m_documentWrittenStrings.toString(); | 150 return m_documentWrittenStrings.toString(); |
150 } | 151 } |
151 | 152 |
152 void DocumentWriteEvaluator::recordDocumentWrite(const String& documentWrittenSt
ring) | 153 void DocumentWriteEvaluator::recordDocumentWrite(const String& documentWrittenSt
ring) |
153 { | 154 { |
154 m_documentWrittenStrings.append(documentWrittenString); | 155 m_documentWrittenStrings.append(documentWrittenString); |
155 } | 156 } |
156 | 157 |
157 } // namespace blink | 158 } // namespace blink |
OLD | NEW |