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

Issue 7036004: Remove more URLRequest::RegisterProtocolFactory calls. (Closed)

Created:
9 years, 7 months ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org, kinuko+watch
Visibility:
Public.

Description

Remove more URLRequest::RegisterProtocolFactory calls. Move BlobProtocolHandler and FileSystemProtocolHandler into webkit directories. Switch test_shell to use them. Create a ChromeBlobProtocolHandler for chrome specific tweaks. BUG=81979 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85778

Patch Set 1 #

Patch Set 2 : Fixes. #

Total comments: 2

Patch Set 3 : oops #

Total comments: 6

Patch Set 4 : Address nits. #

Patch Set 5 : Cleanup nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -247 lines) Patch
D chrome/browser/net/blob_url_request_job_factory.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/net/blob_url_request_job_factory.cc View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/net/file_system_url_request_job_factory.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/net/file_system_url_request_job_factory.cc View 1 chunk +0 lines, -66 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 5 chunks +33 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 chunks +0 lines, -4 lines 0 comments Download
A webkit/blob/blob_url_request_job_factory.h View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A webkit/blob/blob_url_request_job_factory.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M webkit/blob/webkit_blob.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A + webkit/fileapi/file_system_url_request_job_factory.h View 1 2 3 1 chunk +12 lines, -5 lines 0 comments Download
A + webkit/fileapi/file_system_url_request_job_factory.cc View 1 2 3 4 3 chunks +23 lines, -16 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 2 chunks +0 lines, -42 lines 0 comments Download
M webkit/tools/test_shell/test_shell_request_context.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
willchan no longer on Chromium
These are basically simple moves / refactors, nothing tricky's going on here. tony for test_shell ...
9 years, 7 months ago (2011-05-17 10:22:00 UTC) #1
tony
http://codereview.chromium.org/7036004/diff/2001/webkit/tools/test_shell/test_shell_request_context.cc File webkit/tools/test_shell/test_shell_request_context.cc (right): http://codereview.chromium.org/7036004/diff/2001/webkit/tools/test_shell/test_shell_request_context.cc#newcode102 webkit/tools/test_shell/test_shell_request_context.cc:102: net::URLRequestJobFactory* job_factory = new net::URLRequestJobFactory; Do we need to ...
9 years, 7 months ago (2011-05-17 17:01:00 UTC) #2
willchan no longer on Chromium
http://codereview.chromium.org/7036004/diff/2001/webkit/tools/test_shell/test_shell_request_context.cc File webkit/tools/test_shell/test_shell_request_context.cc (right): http://codereview.chromium.org/7036004/diff/2001/webkit/tools/test_shell/test_shell_request_context.cc#newcode102 webkit/tools/test_shell/test_shell_request_context.cc:102: net::URLRequestJobFactory* job_factory = new net::URLRequestJobFactory; On 2011/05/17 17:01:00, tony ...
9 years, 7 months ago (2011-05-17 18:09:50 UTC) #3
tony
LGTM
9 years, 7 months ago (2011-05-17 18:13:21 UTC) #4
willchan no longer on Chromium
+michaeln for webkit/fileapi and webkit/blob.
9 years, 7 months ago (2011-05-17 21:41:33 UTC) #5
michaeln
thnx for the opportunity to take a look... i've got one stupid question http://codereview.chromium.org/7036004/diff/3015/chrome/browser/profiles/profile_io_data.cc File ...
9 years, 7 months ago (2011-05-18 01:13:11 UTC) #6
michaeln
On 2011/05/18 01:13:11, michaeln wrote: > thnx for the opportunity to take a look... i've ...
9 years, 7 months ago (2011-05-18 01:25:09 UTC) #7
willchan no longer on Chromium
Per-profile takes precedence, just like how URLRequest::RegisterProtocolFactory() used to work. http://codereview.chromium.org/7036004/diff/3015/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): http://codereview.chromium.org/7036004/diff/3015/chrome/browser/profiles/profile_io_data.cc#newcode444 ...
9 years, 7 months ago (2011-05-18 16:17:01 UTC) #8
michaeln
LGTM (thnx for the explanation)
9 years, 7 months ago (2011-05-18 16:26:30 UTC) #9
commit-bot: I haz the power
9 years, 7 months ago (2011-05-18 16:30:34 UTC) #10
Can't process patch for file
webkit/fileapi/file_system_url_request_job_factory.cc.
A +

Powered by Google App Engine
This is Rietveld 408576698