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

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

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 #include "bindings/v8/ScriptProfiler.h" 33 #include "bindings/v8/ScriptProfiler.h"
34 #include "core/inspector/ConsoleMessage.h" 34 #include "core/inspector/ConsoleMessage.h"
35 #include "core/inspector/InjectedScriptHost.h" 35 #include "core/inspector/InjectedScriptHost.h"
36 #include "core/inspector/InjectedScriptManager.h" 36 #include "core/inspector/InjectedScriptManager.h"
37 #include "core/inspector/InspectorState.h" 37 #include "core/inspector/InspectorState.h"
38 #include "core/inspector/InstrumentingAgents.h" 38 #include "core/inspector/InstrumentingAgents.h"
39 #include "core/inspector/ScriptArguments.h" 39 #include "core/inspector/ScriptArguments.h"
40 #include "core/inspector/ScriptCallFrame.h" 40 #include "core/inspector/ScriptCallFrame.h"
41 #include "core/inspector/ScriptCallStack.h" 41 #include "core/inspector/ScriptCallStack.h"
42 #include "core/loader/DocumentLoader.h" 42 #include "core/loader/DocumentLoader.h"
43 #include "core/page/Console.h"
44 #include "core/page/DOMWindow.h"
45 #include "core/page/Frame.h" 43 #include "core/page/Frame.h"
46 #include "core/page/Page.h" 44 #include "core/page/Page.h"
47 #include "core/platform/network/ResourceError.h" 45 #include "core/platform/network/ResourceError.h"
48 #include "core/platform/network/ResourceResponse.h" 46 #include "core/platform/network/ResourceResponse.h"
49 #include <wtf/CurrentTime.h> 47 #include "wtf/CurrentTime.h"
50 #include <wtf/OwnPtr.h> 48 #include "wtf/OwnPtr.h"
51 #include <wtf/PassOwnPtr.h> 49 #include "wtf/PassOwnPtr.h"
52 #include <wtf/text/StringBuilder.h> 50 #include "wtf/text/StringBuilder.h"
53 #include <wtf/text/WTFString.h> 51 #include "wtf/text/WTFString.h"
54 52
55 namespace WebCore { 53 namespace WebCore {
56 54
57 static const unsigned maximumConsoleMessages = 1000; 55 static const unsigned maximumConsoleMessages = 1000;
58 static const int expireConsoleMessagesStep = 100; 56 static const int expireConsoleMessagesStep = 100;
59 57
60 namespace ConsoleAgentState { 58 namespace ConsoleAgentState {
61 static const char monitoringXHR[] = "monitoringXHR"; 59 static const char monitoringXHR[] = "monitoringXHR";
62 static const char consoleMessagesEnabled[] = "consoleMessagesEnabled"; 60 static const char consoleMessagesEnabled[] = "consoleMessagesEnabled";
63 } 61 }
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 int m_heapObjectId; 337 int m_heapObjectId;
340 }; 338 };
341 339
342 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId) 340 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId)
343 { 341 {
344 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId))); 342 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId)));
345 } 343 }
346 344
347 } // namespace WebCore 345 } // namespace WebCore
348 346
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorCanvasAgent.h ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698