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

Issue 764573002: Parametrize PageScriptDebugServer with v8::Context -> InspectorHost resolver (Closed)

Created:
6 years ago by yurys
Modified:
6 years ago
CC:
abarth-chromium, Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), esprehn, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Parametrize PageScriptDebugServer with v8::Context -> InspectorHost resolver ScriptDebugServer needs a way to find ScriptDebugListener for the paused v8::Context. The listeners are added per InspectorHost. Now we have to mapping v8::Context -> InspectorHost, InspectorHost -> ScriptDebugListener which allow to map v8::Context -> ScriptDebugListener. This allows to avoid storing InspectorHost on Page. BUG=435243 R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/290d8e5342b150d96ec30efba78fddba6129d01f

Patch Set 1 #

Patch Set 2 : Removed Page::m_inspectorHost #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -19 lines) Patch
M sky/engine/core/page/Page.h View 1 3 chunks +0 lines, -11 lines 0 comments Download
M sky/engine/core/page/Page.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/v8_inspector/PageScriptDebugServer.h View 2 chunks +8 lines, -0 lines 0 comments Download
M sky/engine/v8_inspector/PageScriptDebugServer.cpp View 2 chunks +10 lines, -7 lines 0 comments Download
M sky/engine/v8_inspector/inspector_backend_mojo.cc View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
yurys
6 years ago (2014-11-26 13:28:30 UTC) #2
abarth-chromium
lgtm
6 years ago (2014-11-26 20:55:17 UTC) #3
yurys
6 years ago (2014-11-27 08:18:30 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
290d8e5342b150d96ec30efba78fddba6129d01f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698