| OLD | NEW |
| 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 return iter == m_contexts.end() ? nullptr : iter->second.get(); | 389 return iter == m_contexts.end() ? nullptr : iter->second.get(); |
| 390 } | 390 } |
| 391 | 391 |
| 392 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup( | 392 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup( |
| 393 int contextGroupId) { | 393 int contextGroupId) { |
| 394 if (!contextGroupId) return nullptr; | 394 if (!contextGroupId) return nullptr; |
| 395 SessionMap::iterator iter = m_sessions.find(contextGroupId); | 395 SessionMap::iterator iter = m_sessions.find(contextGroupId); |
| 396 return iter == m_sessions.end() ? nullptr : iter->second; | 396 return iter == m_sessions.end() ? nullptr : iter->second; |
| 397 } | 397 } |
| 398 | 398 |
| 399 void V8InspectorImpl::setMaxAsyncTaskStacksForTest(int limit) { |
| 400 m_debugger->setMaxAsyncTaskStacksForTest(limit); |
| 401 } |
| 402 |
| 399 } // namespace v8_inspector | 403 } // namespace v8_inspector |
| OLD | NEW |