| 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 | 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/inspector/InjectedScriptManager.h" | 39 #include "core/inspector/InjectedScriptManager.h" |
| 40 #include "core/inspector/InspectorState.h" | 40 #include "core/inspector/InspectorState.h" |
| 41 #include "core/inspector/InspectorTimelineAgent.h" | 41 #include "core/inspector/InspectorTimelineAgent.h" |
| 42 #include "core/inspector/InstrumentingAgents.h" | 42 #include "core/inspector/InstrumentingAgents.h" |
| 43 #include "core/inspector/ScriptArguments.h" | 43 #include "core/inspector/ScriptArguments.h" |
| 44 #include "core/inspector/ScriptAsyncCallStack.h" | 44 #include "core/inspector/ScriptAsyncCallStack.h" |
| 45 #include "core/inspector/ScriptCallFrame.h" | 45 #include "core/inspector/ScriptCallFrame.h" |
| 46 #include "core/inspector/ScriptCallStack.h" | 46 #include "core/inspector/ScriptCallStack.h" |
| 47 #include "core/loader/DocumentLoader.h" | 47 #include "core/loader/DocumentLoader.h" |
| 48 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
| 49 #include "core/xml/XMLHttpRequest.h" | 49 #include "core/xmlhttprequest/XMLHttpRequest.h" |
| 50 #include "platform/network/ResourceError.h" | 50 #include "platform/network/ResourceError.h" |
| 51 #include "platform/network/ResourceResponse.h" | 51 #include "platform/network/ResourceResponse.h" |
| 52 #include "wtf/CurrentTime.h" | 52 #include "wtf/CurrentTime.h" |
| 53 #include "wtf/OwnPtr.h" | 53 #include "wtf/OwnPtr.h" |
| 54 #include "wtf/PassOwnPtr.h" | 54 #include "wtf/PassOwnPtr.h" |
| 55 #include "wtf/text/StringBuilder.h" | 55 #include "wtf/text/StringBuilder.h" |
| 56 #include "wtf/text/WTFString.h" | 56 #include "wtf/text/WTFString.h" |
| 57 | 57 |
| 58 namespace blink { | 58 namespace blink { |
| 59 | 59 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 { | 325 { |
| 326 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForOb
jectId(objectId); | 326 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForOb
jectId(objectId); |
| 327 if (injectedScript.isEmpty()) { | 327 if (injectedScript.isEmpty()) { |
| 328 *errorString = "Inspected frame has gone"; | 328 *errorString = "Inspected frame has gone"; |
| 329 return; | 329 return; |
| 330 } | 330 } |
| 331 injectedScript.setLastEvaluationResult(objectId); | 331 injectedScript.setLastEvaluationResult(objectId); |
| 332 } | 332 } |
| 333 | 333 |
| 334 } // namespace blink | 334 } // namespace blink |
| OLD | NEW |