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

Side by Side Diff: Source/core/inspector/InspectorRuntimeAgent.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
« no previous file with comments | « Source/core/inspector/InspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorState.h » ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 , m_frontend(0) 57 , m_frontend(0)
58 , m_injectedScriptManager(injectedScriptManager) 58 , m_injectedScriptManager(injectedScriptManager)
59 , m_scriptDebugServer(scriptDebugServer) 59 , m_scriptDebugServer(scriptDebugServer)
60 { 60 {
61 } 61 }
62 62
63 InspectorRuntimeAgent::~InspectorRuntimeAgent() 63 InspectorRuntimeAgent::~InspectorRuntimeAgent()
64 { 64 {
65 } 65 }
66 66
67 void InspectorRuntimeAgent::trace(Visitor* visitor)
68 {
69 visitor->trace(m_injectedScriptManager);
70 InspectorBaseAgent::trace(visitor);
71 }
72
67 static ScriptDebugServer::PauseOnExceptionsState setPauseOnExceptionsState(Scrip tDebugServer* scriptDebugServer, ScriptDebugServer::PauseOnExceptionsState newSt ate) 73 static ScriptDebugServer::PauseOnExceptionsState setPauseOnExceptionsState(Scrip tDebugServer* scriptDebugServer, ScriptDebugServer::PauseOnExceptionsState newSt ate)
68 { 74 {
69 ASSERT(scriptDebugServer); 75 ASSERT(scriptDebugServer);
70 ScriptDebugServer::PauseOnExceptionsState presentState = scriptDebugServer-> pauseOnExceptionsState(); 76 ScriptDebugServer::PauseOnExceptionsState presentState = scriptDebugServer-> pauseOnExceptionsState();
71 if (presentState != newState) 77 if (presentState != newState)
72 scriptDebugServer->setPauseOnExceptionsState(newState); 78 scriptDebugServer->setPauseOnExceptionsState(newState);
73 return presentState; 79 return presentState;
74 } 80 }
75 81
76 void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& exp ression, const String* const objectGroup, const bool* const includeCommandLineAP I, const bool* const doNotPauseOnExceptionsAndMuteConsole, const int* executionC ontextId, const bool* const returnByValue, const bool* generatePreview, RefPtr<T ypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThr own, RefPtr<TypeBuilder::Debugger::ExceptionDetails>& exceptionDetails) 82 void InspectorRuntimeAgent::evaluate(ErrorString* errorString, const String& exp ression, const String* const objectGroup, const bool* const includeCommandLineAP I, const bool* const doNotPauseOnExceptionsAndMuteConsole, const int* executionC ontextId, const bool* const returnByValue, const bool* generatePreview, RefPtr<T ypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThr own, RefPtr<TypeBuilder::Debugger::ExceptionDetails>& exceptionDetails)
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 m_frontend->executionContextCreated(ExecutionContextDescription::create() 213 m_frontend->executionContextCreated(ExecutionContextDescription::create()
208 .setId(executionContextId) 214 .setId(executionContextId)
209 .setIsPageContext(isPageContext) 215 .setIsPageContext(isPageContext)
210 .setName(name) 216 .setName(name)
211 .setFrameId(frameId) 217 .setFrameId(frameId)
212 .release()); 218 .release());
213 } 219 }
214 220
215 } // namespace blink 221 } // namespace blink
216 222
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698