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

Issue 2552453002: Stop initializing url::Origin in extensions OnBeforeURLRequest when not needed (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cbentzel+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop initializing url::Origin in extensions OnBeforeURLRequest when not needed This patch also removes a GURL copy. BUG=664174 Committed: https://crrev.com/37cdff911bf891aacbd747c8d9a8be24678e8448 Cr-Commit-Position: refs/heads/master@{#436681}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix nested schemes #

Total comments: 2

Patch Set 3 : nested conditional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -32 lines) Patch
M chrome/browser/net/chrome_extensions_network_delegate.cc View 1 2 2 chunks +34 lines, -32 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
Charlie Harrison
rdsmith: ptal? This one is pretty trivial.
4 years ago (2016-12-02 22:00:24 UTC) #5
Randy Smith (Not in Mondays)
LGTM; comment up to you. https://codereview.chromium.org/2552453002/diff/1/chrome/browser/net/chrome_extensions_network_delegate.cc File chrome/browser/net/chrome_extensions_network_delegate.cc (right): https://codereview.chromium.org/2552453002/diff/1/chrome/browser/net/chrome_extensions_network_delegate.cc#newcode176 chrome/browser/net/chrome_extensions_network_delegate.cc:176: const GURL& url(request->url()); nit, ...
4 years ago (2016-12-02 22:03:55 UTC) #6
Charlie Harrison
https://codereview.chromium.org/2552453002/diff/1/chrome/browser/net/chrome_extensions_network_delegate.cc File chrome/browser/net/chrome_extensions_network_delegate.cc (right): https://codereview.chromium.org/2552453002/diff/1/chrome/browser/net/chrome_extensions_network_delegate.cc#newcode176 chrome/browser/net/chrome_extensions_network_delegate.cc:176: const GURL& url(request->url()); On 2016/12/02 22:03:55, Randy Smith - ...
4 years ago (2016-12-02 22:12:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552453002/1
4 years ago (2016-12-02 22:13:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/326445)
4 years ago (2016-12-02 22:50:03 UTC) #12
Charlie Harrison
Looks like a real bug filesystem schemes, will re-upload a fix
4 years ago (2016-12-02 23:06:38 UTC) #13
Charlie Harrison
On 2016/12/02 23:06:38, Charlie Harrison wrote: > Looks like a real bug filesystem schemes, will ...
4 years ago (2016-12-03 16:52:16 UTC) #18
Charlie Harrison
Oh, and PTAL?
4 years ago (2016-12-05 22:52:33 UTC) #19
Randy Smith (Not in Mondays)
I'd suggest you expand the issue description a bit ("stop initializing ... in cases where ...
4 years ago (2016-12-06 16:09:20 UTC) #20
Charlie Harrison
Thanks! https://codereview.chromium.org/2552453002/diff/20001/chrome/browser/net/chrome_extensions_network_delegate.cc File chrome/browser/net/chrome_extensions_network_delegate.cc (right): https://codereview.chromium.org/2552453002/diff/20001/chrome/browser/net/chrome_extensions_network_delegate.cc#newcode193 chrome/browser/net/chrome_extensions_network_delegate.cc:193: (origin = url::Origin(url)).scheme() == extensions::kExtensionScheme && On 2016/12/06 ...
4 years ago (2016-12-06 18:23:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552453002/40001
4 years ago (2016-12-06 18:24:28 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-06 19:21:26 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-06 19:25:02 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/37cdff911bf891aacbd747c8d9a8be24678e8448
Cr-Commit-Position: refs/heads/master@{#436681}

Powered by Google App Engine
This is Rietveld 408576698