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

Side by Side Diff: Source/core/frame/ConsoleBase.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « Source/core/frame/Console.cpp ('k') | Source/core/frame/ContentSecurityPolicy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/frame/Console.h" 30 #include "core/frame/Console.h"
31 31
32 #include "bindings/v8/ScriptCallStackFactory.h" 32 #include "bindings/v8/ScriptCallStackFactory.h"
33 #include "bindings/v8/ScriptProfiler.h" 33 #include "bindings/v8/ScriptProfiler.h"
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/inspector/ConsoleAPITypes.h"
36 #include "core/inspector/InspectorConsoleInstrumentation.h" 35 #include "core/inspector/InspectorConsoleInstrumentation.h"
37 #include "core/inspector/ScriptArguments.h" 36 #include "core/inspector/ScriptArguments.h"
38 #include "core/inspector/ScriptCallStack.h"
39 #include "core/inspector/ScriptProfile.h" 37 #include "core/inspector/ScriptProfile.h"
40 #include "core/frame/ConsoleTypes.h"
41 #include "platform/TraceEvent.h" 38 #include "platform/TraceEvent.h"
42 #include "wtf/text/CString.h" 39 #include "wtf/text/CString.h"
43 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
44 41
45 namespace WebCore { 42 namespace WebCore {
46 43
47 ConsoleBase::~ConsoleBase() 44 ConsoleBase::~ConsoleBase()
48 { 45 {
49 } 46 }
50 47
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 RefPtr<ScriptCallStack> callStack(createScriptCallStackForConsole(stackSize) ); 203 RefPtr<ScriptCallStack> callStack(createScriptCallStackForConsole(stackSize) );
207 204
208 String message; 205 String message;
209 bool gotStringMessage = arguments->getFirstArgumentAsString(message); 206 bool gotStringMessage = arguments->getFirstArgumentAsString(message);
210 InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSo urce, type, level, message, state, arguments); 207 InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSo urce, type, level, message, state, arguments);
211 if (gotStringMessage) 208 if (gotStringMessage)
212 reportMessageToClient(level, message, callStack); 209 reportMessageToClient(level, message, callStack);
213 } 210 }
214 211
215 } // namespace WebCore 212 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/Console.cpp ('k') | Source/core/frame/ContentSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698