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

Issue 188693003: Allow the content browser client to specify a special cookie store to be (Closed)

Created:
6 years, 9 months ago by tburkard
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Visibility:
Public.

Description

Allow the content browser client to specify a special cookie store to be used for a given render process id. This special cookie store will then be used for renderer messages pertaining to cookies, url fetches in net, and websockets. If the special cookie store is NULL, a default cookie store will be used. R=erikwright@chromium.org, jam@chromium.org, lambroslambrou@chromium.org, mmenke@chromium.org, tyoshino@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256579

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 8

Patch Set 9 : incorporated first round of comments #

Patch Set 10 : added two new files that i previously forgot to add #

Total comments: 4

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -204 lines) Patch
M chrome/browser/net/chrome_fraudulent_certificate_reporter.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/connection_tester.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/http_pipelining_compatibility_client.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/plugins/plugin_installer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_client_certificate_selector_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/blob_url_request_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_url_request_job_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_writer_delegate_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download
M content/browser/loader/resource_scheduler_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 7 chunks +36 lines, -17 lines 0 comments Download
M content/browser/renderer_host/socket_stream_dispatcher_host.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/socket_stream_host.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/socket_stream_host.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -3 lines 0 comments Download
M content/browser/streams/stream_url_request_job_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket_stream/socket_stream.h View 1 2 6 chunks +11 lines, -4 lines 0 comments Download
M net/socket_stream/socket_stream.cc View 1 2 3 4 5 6 5 chunks +33 lines, -23 lines 0 comments Download
M net/socket_stream/socket_stream_job.h View 1 2 5 chunks +11 lines, -5 lines 0 comments Download
M net/socket_stream/socket_stream_job.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -2 lines 0 comments Download
M net/socket_stream/socket_stream_job_manager.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/socket_stream/socket_stream_job_manager.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M net/socket_stream/socket_stream_unittest.cc View 1 2 18 chunks +37 lines, -44 lines 0 comments Download
M net/url_request/url_fetcher_core.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request.h View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -0 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 3 4 5 6 7 8 2 chunks +51 lines, -31 lines 0 comments Download
M net/url_request/url_request_context.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M net/url_request/url_request_context.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -5 lines 0 comments Download
M net/url_request/url_request_job.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M net/websockets/websocket_job.cc View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M net/websockets/websocket_job_test.cc View 1 2 5 chunks +8 lines, -7 lines 0 comments Download
M net/websockets/websocket_throttle_test.cc View 1 2 9 chunks +9 lines, -18 lines 0 comments Download
M remoting/host/token_validator_factory_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/appcache/appcache_storage_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/appcache/appcache_update_job.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/browser/appcache/appcache_url_request_job_unittest.cc View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M webkit/browser/blob/blob_url_request_job_factory.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
tburkard
Hi, as I have discussed with all of you, here is the first draft preparing ...
6 years, 9 months ago (2014-03-10 16:59:34 UTC) #1
mmenke
I think this looks pretty reasonable. I'll try to get to a full review later ...
6 years, 9 months ago (2014-03-11 14:45:48 UTC) #2
jam
lgtm with nit https://codereview.chromium.org/188693003/diff/140001/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): https://codereview.chromium.org/188693003/diff/140001/content/browser/renderer_host/render_message_filter.cc#newcode889 content/browser/renderer_host/render_message_filter.cc:889: // prerendes. Since prerenders will be ...
6 years, 9 months ago (2014-03-11 16:47:08 UTC) #3
erikwright (departed)
This alternative seems fine. My impression is that the original plan would have affected far ...
6 years, 9 months ago (2014-03-11 19:03:33 UTC) #4
tyoshino (SeeGerritForStatus)
lgtm WebSocket
6 years, 9 months ago (2014-03-12 11:17:10 UTC) #5
tburkard
Addressed all pending comments. Matt, please let me know when you think this is ready ...
6 years, 9 months ago (2014-03-12 14:37:26 UTC) #6
mmenke
I'm happy with the net/ changes (Looked at them all) and the browser/net changes, just ...
6 years, 9 months ago (2014-03-12 16:42:59 UTC) #7
tburkard
Replied to Matt's last 2 comments without any changes. Matt, please let me know if ...
6 years, 9 months ago (2014-03-12 16:51:31 UTC) #8
mmenke
Ok, I'll defer to jam on the naming. All directories I own LGTM: net/, browser/net, ...
6 years, 9 months ago (2014-03-12 16:54:47 UTC) #9
Lambros
remoting/ lgtm
6 years, 9 months ago (2014-03-12 17:25:32 UTC) #10
michaeln
lgtm
6 years, 9 months ago (2014-03-12 17:36:13 UTC) #11
tburkard
Committed patchset #11 manually as r256579 (presubmit successful).
6 years, 9 months ago (2014-03-12 17:55:20 UTC) #12
Peter Beverloo
6 years, 9 months ago (2014-03-12 18:30:47 UTC) #13
Message was sent while issue was closed.
FYI: I reverted this in https://codereview.chromium.org/197463003.

Example output:
 
http://build.chromium.org/p/chromium.linux/builders/Android%20Clang%20Builder...

The Android android_dbg and android_clang_dbg try-bots on this CL both point out
the compile errors in both their runs. If you choose to not use the commit
queue, please make sure that the try-bots are happy :-).

Powered by Google App Engine
This is Rietveld 408576698