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

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

Issue 884753003: Fix template angle bracket syntax in inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some more fixes Created 5 years, 10 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
« 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 muteConsole(); 112 muteConsole();
113 113
114 injectedScript.callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue), asBool(generatePreview), &result, wasThrown); 114 injectedScript.callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue), asBool(generatePreview), &result, wasThrown);
115 115
116 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) { 116 if (asBool(doNotPauseOnExceptionsAndMuteConsole)) {
117 unmuteConsole(); 117 unmuteConsole();
118 setPauseOnExceptionsState(m_scriptDebugServer, previousPauseOnExceptions State); 118 setPauseOnExceptionsState(m_scriptDebugServer, previousPauseOnExceptions State);
119 } 119 }
120 } 120 }
121 121
122 void InspectorRuntimeAgent::getProperties(ErrorString* errorString, const String & objectId, const bool* ownProperties, const bool* accessorPropertiesOnly, RefPt r<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor> >& result, RefPtr <TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >& interna lProperties) 122 void InspectorRuntimeAgent::getProperties(ErrorString* errorString, const String & objectId, const bool* ownProperties, const bool* accessorPropertiesOnly, RefPt r<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor>>& result, RefPtr< TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>& internalP roperties)
123 { 123 {
124 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForOb jectId(objectId); 124 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForOb jectId(objectId);
125 if (injectedScript.isEmpty()) { 125 if (injectedScript.isEmpty()) {
126 *errorString = "Inspected frame has gone"; 126 *errorString = "Inspected frame has gone";
127 return; 127 return;
128 } 128 }
129 129
130 ScriptDebugServer::PauseOnExceptionsState previousPauseOnExceptionsState = s etPauseOnExceptionsState(m_scriptDebugServer, ScriptDebugServer::DontPauseOnExce ptions); 130 ScriptDebugServer::PauseOnExceptionsState previousPauseOnExceptionsState = s etPauseOnExceptionsState(m_scriptDebugServer, ScriptDebugServer::DontPauseOnExce ptions);
131 muteConsole(); 131 muteConsole();
132 132
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 .setId(executionContextId) 227 .setId(executionContextId)
228 .setIsPageContext(isPageContext) 228 .setIsPageContext(isPageContext)
229 .setName(humanReadableName) 229 .setName(humanReadableName)
230 .setOrigin(origin) 230 .setOrigin(origin)
231 .setFrameId(frameId) 231 .setFrameId(frameId)
232 .release()); 232 .release());
233 } 233 }
234 234
235 } // namespace blink 235 } // namespace blink
236 236
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