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

Issue 348042: Allows extension-devtools api to survive page navigation. (Closed)

Created:
11 years, 1 month ago by jaimeyap
Modified:
9 years, 7 months ago
Reviewers:
jamesr, pfeldman
CC:
chromium-reviews_googlegroups.com, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Allows extension-devtools api to survive page navigation. The problem was that the ExtensionDevtoolsBridge maintained explicit knowledge of the RenderViewHost is was monitoring. This would be invalidated on page navigations where the inspected RVH would be swapped out from underneath it. This patch removes knowledge of RenderViewHost from the ExtensionDevToolsBridge and makes sure it appropriately unregisters itself. Patch by: Jaime Yap (jaimeyap@google.com) TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30840

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -11 lines) Patch
M chrome/browser/extensions/extension_devtools_bridge.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_devtools_bridge.cc View 1 2 3 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jaimeyap
11 years, 1 month ago (2009-11-02 19:18:24 UTC) #1
pfeldman
http://codereview.chromium.org/348042/diff/3001/4003 File chrome/browser/debugger/devtools_manager.h (right): http://codereview.chromium.org/348042/diff/3001/4003#newcode44 Line 44: void UnregisterDevToolsClientHost(DevToolsClientHost* client_host); You should be able to ...
11 years, 1 month ago (2009-11-02 21:59:05 UTC) #2
jaimeyap
http://codereview.chromium.org/348042/diff/3001/4003 File chrome/browser/debugger/devtools_manager.h (right): http://codereview.chromium.org/348042/diff/3001/4003#newcode44 Line 44: void UnregisterDevToolsClientHost(DevToolsClientHost* client_host); On 2009/11/02 21:59:06, pfeldman wrote: ...
11 years, 1 month ago (2009-11-02 22:20:15 UTC) #3
jaimeyap
ping On 2009/11/02 22:20:15, jaimeyap wrote: > http://codereview.chromium.org/348042/diff/3001/4003 > File chrome/browser/debugger/devtools_manager.h (right): > > http://codereview.chromium.org/348042/diff/3001/4003#newcode44 ...
11 years, 1 month ago (2009-11-03 15:32:18 UTC) #4
pfeldman
LGTM (now that the tool is alive)
11 years, 1 month ago (2009-11-03 17:05:04 UTC) #5
jaimeyap
@pfeldman: Thanks for the review. Now I must ask for the obligatory "can someone land ...
11 years, 1 month ago (2009-11-03 18:49:10 UTC) #6
jamesr1
11 years, 1 month ago (2009-11-03 19:10:56 UTC) #7
r30840.

On Tue, Nov 3, 2009 at 11:49 AM, <jaimeyap@google.com> wrote:

> @pfeldman: Thanks for the review.
>
> Now I must ask for the obligatory "can someone land this for me" since I
> don't
> have commit access :).
>
>
> On 2009/11/03 17:05:04, pfeldman wrote:
>
>> LGTM (now that the tool is alive)
>>
>
>
>
> http://codereview.chromium.org/348042
>

Powered by Google App Engine
This is Rietveld 408576698