OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/frame/FrameConsole.h" | 29 #include "core/frame/FrameConsole.h" |
30 | 30 |
31 #include "bindings/core/v8/ScriptCallStack.h" | 31 #include "bindings/core/v8/ScriptCallStack.h" |
32 #include "core/frame/FrameHost.h" | 32 #include "core/frame/FrameHost.h" |
33 #include "core/inspector/ConsoleAPITypes.h" | 33 #include "core/inspector/ConsoleAPITypes.h" |
34 #include "core/inspector/ConsoleMessage.h" | 34 #include "core/inspector/ConsoleMessage.h" |
35 #include "core/inspector/ConsoleMessageStorage.h" | 35 #include "core/inspector/ConsoleMessageStorage.h" |
36 #include "core/inspector/InspectorConsoleInstrumentation.h" | 36 #include "core/inspector/InspectorConsoleInstrumentation.h" |
37 #include "core/page/ChromeClient.h" | 37 #include "core/page/ChromeClient.h" |
38 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
39 #include "core/workers/WorkerGlobalScopeProxy.h" | |
40 #include "platform/network/ResourceError.h" | 39 #include "platform/network/ResourceError.h" |
41 #include "platform/network/ResourceResponse.h" | 40 #include "platform/network/ResourceResponse.h" |
42 #include "wtf/text/StringBuilder.h" | 41 #include "wtf/text/StringBuilder.h" |
43 | 42 |
44 namespace blink { | 43 namespace blink { |
45 | 44 |
46 static const HashSet<int>& allClientReportingMessageTypes() | 45 static const HashSet<int>& allClientReportingMessageTypes() |
47 { | 46 { |
48 DEFINE_STATIC_LOCAL(HashSet<int>, types, ()); | 47 DEFINE_STATIC_LOCAL(HashSet<int>, types, ()); |
49 if (types.isEmpty()) { | 48 if (types.isEmpty()) { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 consoleMessage->setRequestIdentifier(requestIdentifier); | 180 consoleMessage->setRequestIdentifier(requestIdentifier); |
182 storage->reportMessage(m_frame->document(), consoleMessage); | 181 storage->reportMessage(m_frame->document(), consoleMessage); |
183 } | 182 } |
184 | 183 |
185 DEFINE_TRACE(FrameConsole) | 184 DEFINE_TRACE(FrameConsole) |
186 { | 185 { |
187 visitor->trace(m_frame); | 186 visitor->trace(m_frame); |
188 } | 187 } |
189 | 188 |
190 } // namespace blink | 189 } // namespace blink |
OLD | NEW |