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

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

Issue 29123004: Move core/platform/network to platform/network (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more file Created 7 years, 2 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 | Annotate | Revision Log
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 13 matching lines...) Expand all
24 24
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/inspector/InspectorConsoleAgent.h" 27 #include "core/inspector/InspectorConsoleAgent.h"
28 28
29 #include "InspectorFrontend.h" 29 #include "InspectorFrontend.h"
30 #include "bindings/v8/ScriptCallStackFactory.h" 30 #include "bindings/v8/ScriptCallStackFactory.h"
31 #include "bindings/v8/ScriptController.h" 31 #include "bindings/v8/ScriptController.h"
32 #include "bindings/v8/ScriptObject.h" 32 #include "bindings/v8/ScriptObject.h"
33 #include "bindings/v8/ScriptProfiler.h" 33 #include "bindings/v8/ScriptProfiler.h"
34 #include "core/frame/Frame.h"
34 #include "core/inspector/ConsoleMessage.h" 35 #include "core/inspector/ConsoleMessage.h"
35 #include "core/inspector/InjectedScriptHost.h" 36 #include "core/inspector/InjectedScriptHost.h"
36 #include "core/inspector/InjectedScriptManager.h" 37 #include "core/inspector/InjectedScriptManager.h"
37 #include "core/inspector/InspectorState.h" 38 #include "core/inspector/InspectorState.h"
38 #include "core/inspector/InspectorTimelineAgent.h" 39 #include "core/inspector/InspectorTimelineAgent.h"
39 #include "core/inspector/InstrumentingAgents.h" 40 #include "core/inspector/InstrumentingAgents.h"
40 #include "core/inspector/ScriptArguments.h" 41 #include "core/inspector/ScriptArguments.h"
41 #include "core/inspector/ScriptCallFrame.h" 42 #include "core/inspector/ScriptCallFrame.h"
42 #include "core/inspector/ScriptCallStack.h" 43 #include "core/inspector/ScriptCallStack.h"
43 #include "core/loader/DocumentLoader.h" 44 #include "core/loader/DocumentLoader.h"
44 #include "core/frame/Frame.h"
45 #include "core/page/Page.h" 45 #include "core/page/Page.h"
46 #include "core/platform/network/ResourceResponse.h"
47 #include "platform/network/ResourceError.h" 46 #include "platform/network/ResourceError.h"
47 #include "platform/network/ResourceResponse.h"
48 #include "wtf/CurrentTime.h" 48 #include "wtf/CurrentTime.h"
49 #include "wtf/OwnPtr.h" 49 #include "wtf/OwnPtr.h"
50 #include "wtf/PassOwnPtr.h" 50 #include "wtf/PassOwnPtr.h"
51 #include "wtf/text/StringBuilder.h" 51 #include "wtf/text/StringBuilder.h"
52 #include "wtf/text/WTFString.h" 52 #include "wtf/text/WTFString.h"
53 53
54 namespace WebCore { 54 namespace WebCore {
55 55
56 static const unsigned maximumConsoleMessages = 1000; 56 static const unsigned maximumConsoleMessages = 1000;
57 static const int expireConsoleMessagesStep = 100; 57 static const int expireConsoleMessagesStep = 100;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 int m_heapObjectId; 348 int m_heapObjectId;
349 }; 349 };
350 350
351 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId) 351 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId)
352 { 352 {
353 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId))); 353 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId)));
354 } 354 }
355 355
356 } // namespace WebCore 356 } // namespace WebCore
357 357
OLDNEW
« no previous file with comments | « Source/core/html/parser/XSSAuditorDelegate.cpp ('k') | Source/core/inspector/InspectorFrontendHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698