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

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

Issue 323043002: Oilpan: Prepare moving InspectorAgent related classes to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 , m_frontend(0) 68 , m_frontend(0)
69 , m_expiredConsoleMessageCount(0) 69 , m_expiredConsoleMessageCount(0)
70 , m_enabled(false) 70 , m_enabled(false)
71 { 71 {
72 } 72 }
73 73
74 InspectorConsoleAgent::~InspectorConsoleAgent() 74 InspectorConsoleAgent::~InspectorConsoleAgent()
75 { 75 {
76 #if !ENABLE(OILPAN) 76 #if !ENABLE(OILPAN)
77 m_instrumentingAgents->setInspectorConsoleAgent(0); 77 m_instrumentingAgents->setInspectorConsoleAgent(0);
78 m_instrumentingAgents = nullptr;
79 #endif 78 #endif
80 m_state = 0;
81 m_injectedScriptManager = 0;
82 } 79 }
83 80
84 void InspectorConsoleAgent::trace(Visitor* visitor) 81 void InspectorConsoleAgent::trace(Visitor* visitor)
85 { 82 {
86 visitor->trace(m_timelineAgent); 83 visitor->trace(m_timelineAgent);
84 visitor->trace(m_injectedScriptManager);
87 InspectorBaseAgent::trace(visitor); 85 InspectorBaseAgent::trace(visitor);
88 } 86 }
89 87
90 void InspectorConsoleAgent::init() 88 void InspectorConsoleAgent::init()
91 { 89 {
92 m_instrumentingAgents->setInspectorConsoleAgent(this); 90 m_instrumentingAgents->setInspectorConsoleAgent(this);
93 } 91 }
94 92
95 void InspectorConsoleAgent::enable(ErrorString*) 93 void InspectorConsoleAgent::enable(ErrorString*)
96 { 94 {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 int m_heapObjectId; 331 int m_heapObjectId;
334 }; 332 };
335 333
336 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId) 334 void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe apObjectId)
337 { 335 {
338 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId))); 336 m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(n ew InspectableHeapObject(inspectedHeapObjectId)));
339 } 337 }
340 338
341 } // namespace blink 339 } // namespace blink
342 340
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.h ('k') | Source/core/inspector/InspectorController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698