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

Side by Side Diff: src/inspector/v8-inspector-impl.cc

Issue 2773143002: [inspector] finally removed *ExecuteScript from inspector (Closed)
Patch Set: Created 3 years, 9 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 | « src/inspector/v8-inspector-impl.h ('k') | no next file » | 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) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (c) 2010-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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 void V8InspectorImpl::resetContextGroup(int contextGroupId) { 233 void V8InspectorImpl::resetContextGroup(int contextGroupId) {
234 m_consoleStorageMap.erase(contextGroupId); 234 m_consoleStorageMap.erase(contextGroupId);
235 m_muteExceptionsMap.erase(contextGroupId); 235 m_muteExceptionsMap.erase(contextGroupId);
236 SessionMap::iterator session = m_sessions.find(contextGroupId); 236 SessionMap::iterator session = m_sessions.find(contextGroupId);
237 if (session != m_sessions.end()) session->second->reset(); 237 if (session != m_sessions.end()) session->second->reset();
238 m_contexts.erase(contextGroupId); 238 m_contexts.erase(contextGroupId);
239 m_debugger->wasmTranslation()->Clear(); 239 m_debugger->wasmTranslation()->Clear();
240 } 240 }
241 241
242 void V8InspectorImpl::willExecuteScript(v8::Local<v8::Context> context,
243 int scriptId) {
244 }
245
246 void V8InspectorImpl::didExecuteScript(v8::Local<v8::Context> context) {
247 }
248
249 void V8InspectorImpl::idleStarted() { 242 void V8InspectorImpl::idleStarted() {
250 for (auto it = m_sessions.begin(); it != m_sessions.end(); ++it) { 243 for (auto it = m_sessions.begin(); it != m_sessions.end(); ++it) {
251 if (it->second->profilerAgent()->idleStarted()) return; 244 if (it->second->profilerAgent()->idleStarted()) return;
252 } 245 }
253 } 246 }
254 247
255 void V8InspectorImpl::idleFinished() { 248 void V8InspectorImpl::idleFinished() {
256 for (auto it = m_sessions.begin(); it != m_sessions.end(); ++it) { 249 for (auto it = m_sessions.begin(); it != m_sessions.end(); ++it) {
257 if (it->second->profilerAgent()->idleFinished()) return; 250 if (it->second->profilerAgent()->idleFinished()) return;
258 } 251 }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 } 329 }
337 330
338 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup( 331 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup(
339 int contextGroupId) { 332 int contextGroupId) {
340 if (!contextGroupId) return nullptr; 333 if (!contextGroupId) return nullptr;
341 SessionMap::iterator iter = m_sessions.find(contextGroupId); 334 SessionMap::iterator iter = m_sessions.find(contextGroupId);
342 return iter == m_sessions.end() ? nullptr : iter->second; 335 return iter == m_sessions.end() ? nullptr : iter->second;
343 } 336 }
344 337
345 } // namespace v8_inspector 338 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-inspector-impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698