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

Issue 183803023: clean up partition check in url_data_manager_backend.cc (Closed)

Created:
6 years, 9 months ago by guohui
Modified:
4 years, 7 months ago
Reviewers:
jam, Dan Beam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Charlie Reis
Visibility:
Public.

Description

clean up partition check in url_data_manager_backend.cc BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257556

Patch Set 1 : #

Total comments: 6

Patch Set 2 : comments addressed #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -11 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 1 chunk +12 lines, -1 line 0 comments Download
M content/browser/webui/url_data_manager_backend.cc View 1 1 chunk +5 lines, -10 lines 3 comments Download
M content/public/browser/content_browser_client.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
guohui
Hey John, could you please a look at the CL? It claens up the storage ...
6 years, 9 months ago (2014-03-05 19:30:00 UTC) #1
jam
lgtm with comments https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc#newcode1077 chrome/browser/chrome_content_browser_client.cc:1077: content::ContentBrowserClient::GetWebUIHostsToIgnoreParititionCheck(hosts); nit: then remove this line ...
6 years, 9 months ago (2014-03-05 22:29:46 UTC) #2
guohui
https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc#newcode1077 chrome/browser/chrome_content_browser_client.cc:1077: content::ContentBrowserClient::GetWebUIHostsToIgnoreParititionCheck(hosts); On 2014/03/05 22:29:46, jam wrote: > nit: then ...
6 years, 9 months ago (2014-03-05 23:04:24 UTC) #3
guohui
On 2014/03/05 23:04:24, guohui wrote: > https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc > File chrome/browser/chrome_content_browser_client.cc (right): > > https://codereview.chromium.org/183803023/diff/20001/chrome/browser/chrome_content_browser_client.cc#newcode1077 > ...
6 years, 9 months ago (2014-03-05 23:05:00 UTC) #4
jam
https://codereview.chromium.org/183803023/diff/20001/content/public/browser/content_browser_client.cc File content/public/browser/content_browser_client.cc (right): https://codereview.chromium.org/183803023/diff/20001/content/public/browser/content_browser_client.cc#newcode42 content/public/browser/content_browser_client.cc:42: hosts->push_back(kChromeUIResourcesHost); On 2014/03/05 23:04:24, guohui wrote: > On 2014/03/05 ...
6 years, 9 months ago (2014-03-06 01:54:47 UTC) #5
guohui
The CQ bit was checked by guohui@chromium.org
6 years, 9 months ago (2014-03-17 21:17:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/183803023/60001
6 years, 9 months ago (2014-03-17 21:19:04 UTC) #7
commit-bot: I haz the power
Change committed as 257556
6 years, 9 months ago (2014-03-18 00:33:34 UTC) #8
Dan Beam
https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (right): https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/url_data_manager_backend.cc#newcode365 content/browser/webui/url_data_manager_backend.cc:365: std::find(hosts.begin(), hosts.end(), url.host()) != hosts.end())) { did this code ...
4 years, 7 months ago (2016-05-17 02:28:55 UTC) #10
Dan Beam
https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (left): https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/url_data_manager_backend.cc#oldcode364 content/browser/webui/url_data_manager_backend.cc:364: (url.host() == kChromeUIResourcesHost || it seems as if this ...
4 years, 7 months ago (2016-05-17 03:43:48 UTC) #11
Charlie Reis
4 years, 7 months ago (2016-05-17 21:08:24 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/ur...
File content/browser/webui/url_data_manager_backend.cc (right):

https://codereview.chromium.org/183803023/diff/60001/content/browser/webui/ur...
content/browser/webui/url_data_manager_backend.cc:365: std::find(hosts.begin(),
hosts.end(), url.host()) != hosts.end())) {
On 2016/05/17 02:28:55, Dan Beam wrote:
> did this code ever work?  it seems like any chrome:// scheme URL would be
> allowed and |hosts| was effectively never used.

Yeah, this doesn't match the change that jam@ requested (i.e., putting
kChromeUIResourcesHost into hosts), and it broke the outcome.  Apparently there
weren't any tests to catch it either.

Powered by Google App Engine
This is Rietveld 408576698