| OLD | NEW |
| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/inspector/InspectorRuntimeAgent.h" | 32 #include "core/inspector/InspectorRuntimeAgent.h" |
| 33 | 33 |
| 34 #include "core/inspector/InjectedScript.h" | 34 #include "core/inspector/InjectedScript.h" |
| 35 #include "core/inspector/InjectedScriptManager.h" | 35 #include "core/inspector/InjectedScriptManager.h" |
| 36 #include "core/inspector/InspectorValues.h" | 36 #include "core/inspector/InspectorValues.h" |
| 37 #include <wtf/PassRefPtr.h> | 37 #include <wtf/PassRefPtr.h> |
| 38 | 38 |
| 39 | 39 |
| 40 #include "ScriptDebugServer.h" | 40 #include "bindings/v8/ScriptDebugServer.h" |
| 41 | 41 |
| 42 namespace WebCore { | 42 namespace WebCore { |
| 43 | 43 |
| 44 static bool asBool(const bool* const b) | 44 static bool asBool(const bool* const b) |
| 45 { | 45 { |
| 46 return b ? *b : false; | 46 return b ? *b : false; |
| 47 } | 47 } |
| 48 | 48 |
| 49 InspectorRuntimeAgent::InspectorRuntimeAgent(InstrumentingAgents* instrumentingA
gents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptMana
ger) | 49 InspectorRuntimeAgent::InspectorRuntimeAgent(InstrumentingAgents* instrumentingA
gents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptMana
ger) |
| 50 : InspectorBaseAgent<InspectorRuntimeAgent>("Runtime", instrumentingAgents,
state) | 50 : InspectorBaseAgent<InspectorRuntimeAgent>("Runtime", instrumentingAgents,
state) |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 { | 145 { |
| 146 } | 146 } |
| 147 | 147 |
| 148 void InspectorRuntimeAgent::setScriptDebugServer(ScriptDebugServer* scriptDebugS
erver) | 148 void InspectorRuntimeAgent::setScriptDebugServer(ScriptDebugServer* scriptDebugS
erver) |
| 149 { | 149 { |
| 150 m_scriptDebugServer = scriptDebugServer; | 150 m_scriptDebugServer = scriptDebugServer; |
| 151 } | 151 } |
| 152 | 152 |
| 153 } // namespace WebCore | 153 } // namespace WebCore |
| 154 | 154 |
| OLD | NEW |