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

Issue 195093: handle mole/toolstrip URLs properly (Closed)

Created:
11 years, 3 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Handle mole/toolstrip URLs properly. * expand/collapse to chrome-extension://crashme no longer crashes * expand/collapse to a relative URL now works BUG=20412, 21905 TEST=browser_tests ExtensionApi.Toolstrip (note that the test doesn't actually exercise these changes due to 21905) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26266

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -9 lines) Patch
M chrome/browser/extensions/extension_host.cc View 2 chunks +28 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_toolstrip_api.cc View 3 chunks +23 lines, -5 lines 1 comment Download
A chrome/test/data/extensions/api_test/toolstrip/folder/relative.html View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/toolstrip/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/toolstrip/test.html View 1 chunk +29 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/toolstrip/test2.html View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik does not do reviews
11 years, 3 months ago (2009-09-15 20:04:32 UTC) #1
Matt Perry
LGTM http://codereview.chromium.org/195093/diff/1/3 File chrome/browser/extensions/extension_toolstrip_api.cc (right): http://codereview.chromium.org/195093/diff/1/3#newcode39 Line 39: static GURL ResolveURLForExtension(const std::string& url_string, I think ...
11 years, 3 months ago (2009-09-15 20:31:57 UTC) #2
Erik does not do reviews
11 years, 3 months ago (2009-09-15 20:40:39 UTC) #3
On Tue, Sep 15, 2009 at 1:31 PM,  <mpcomplete@chromium.org> wrote:
> LGTM
>
>
> http://codereview.chromium.org/195093/diff/1/3
> File chrome/browser/extensions/extension_toolstrip_api.cc (right):
>
> http://codereview.chromium.org/195093/diff/1/3#newcode39
> Line 39: static GURL ResolveURLForExtension(const std::string&
> url_string,
> I think Resolve works on absolute URLs too, so this whole function can
> be replaced with current_url.Resolve(url_string).

Ahh, you're right.  I missed that in the comments.  Thanks!

Erik

>
> http://codereview.chromium.org/195093
>

Powered by Google App Engine
This is Rietveld 408576698