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

Side by Side Diff: Source/core/inspector/PageDebuggerAgent.cpp

Issue 15942008: Remove unused includes from core/inspector and core/svg .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase and address pdr's comments Created 7 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
« no previous file with comments | « Source/core/inspector/PageConsoleAgent.cpp ('k') | Source/core/inspector/PageRuntimeAgent.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/inspector/PageDebuggerAgent.h" 32 #include "core/inspector/PageDebuggerAgent.h"
33 33
34 #include "bindings/v8/DOMWrapperWorld.h" 34 #include "bindings/v8/DOMWrapperWorld.h"
35 #include "bindings/v8/PageScriptDebugServer.h" 35 #include "bindings/v8/PageScriptDebugServer.h"
36 #include "core/inspector/InspectorOverlay.h" 36 #include "core/inspector/InspectorOverlay.h"
37 #include "core/inspector/InspectorPageAgent.h" 37 #include "core/inspector/InspectorPageAgent.h"
38 #include "core/inspector/InstrumentingAgents.h" 38 #include "core/inspector/InstrumentingAgents.h"
39 #include "core/page/Page.h"
40 #include "core/page/PageConsole.h" 39 #include "core/page/PageConsole.h"
41 40
42 namespace WebCore { 41 namespace WebCore {
43 42
44 PassOwnPtr<PageDebuggerAgent> PageDebuggerAgent::create(InstrumentingAgents* ins trumentingAgents, InspectorCompositeState* inspectorState, InspectorPageAgent* p ageAgent, InjectedScriptManager* injectedScriptManager, InspectorOverlay* overla y) 43 PassOwnPtr<PageDebuggerAgent> PageDebuggerAgent::create(InstrumentingAgents* ins trumentingAgents, InspectorCompositeState* inspectorState, InspectorPageAgent* p ageAgent, InjectedScriptManager* injectedScriptManager, InspectorOverlay* overla y)
45 { 44 {
46 return adoptPtr(new PageDebuggerAgent(instrumentingAgents, inspectorState, p ageAgent, injectedScriptManager, overlay)); 45 return adoptPtr(new PageDebuggerAgent(instrumentingAgents, inspectorState, p ageAgent, injectedScriptManager, overlay));
47 } 46 }
48 47
49 PageDebuggerAgent::PageDebuggerAgent(InstrumentingAgents* instrumentingAgents, I nspectorCompositeState* inspectorState, InspectorPageAgent* pageAgent, InjectedS criptManager* injectedScriptManager, InspectorOverlay* overlay) 48 PageDebuggerAgent::PageDebuggerAgent(InstrumentingAgents* instrumentingAgents, I nspectorCompositeState* inspectorState, InspectorPageAgent* pageAgent, InjectedS criptManager* injectedScriptManager, InspectorOverlay* overlay)
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 { 114 {
116 if (world != mainThreadNormalWorld() || frame != m_pageAgent->mainFrame()) 115 if (world != mainThreadNormalWorld() || frame != m_pageAgent->mainFrame())
117 return; 116 return;
118 117
119 reset(); 118 reset();
120 scriptDebugServer().setScriptPreprocessor(m_pageAgent->scriptPreprocessor()) ; 119 scriptDebugServer().setScriptPreprocessor(m_pageAgent->scriptPreprocessor()) ;
121 } 120 }
122 121
123 } // namespace WebCore 122 } // namespace WebCore
124 123
OLDNEW
« no previous file with comments | « Source/core/inspector/PageConsoleAgent.cpp ('k') | Source/core/inspector/PageRuntimeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698