Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 10944013: Make original_response_headers parameter of NetworkDelegate::OnHeadersReceived const (Closed)

Created:
8 years, 3 months ago by battre
Modified:
8 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Make original_response_headers parameter of NetworkDelegate::OnHeadersReceived const BUG=149890 [email protected],[email protected],[email protected] Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163111

Patch Set 1 #

Patch Set 2 : Merged with ToT #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -29 lines) Patch
M android_webview/browser/net/aw_network_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/net/aw_network_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_network_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_network_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/network_delegate.h View 2 chunks +2 lines, -2 lines 2 comments Download
M net/base/network_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/network_delegate_error_observer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_test_util.h View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_test_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
battre
Hi. I had to close the previous CL and create a new one because my ...
8 years, 3 months ago (2012-09-18 16:49:27 UTC) #1
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 3 months ago (2012-09-19 09:05:20 UTC) #2
battre
On 2012/09/19 09:05:20, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
8 years, 3 months ago (2012-09-19 09:05:52 UTC) #3
cbentzel
LGTM
8 years, 3 months ago (2012-09-19 11:27:29 UTC) #4
battre
Reviving this old CL. TBR'ing for trivial changes (only making one parameter const): webkit: [email protected] ...
8 years, 2 months ago (2012-10-19 19:00:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10944013/11001
8 years, 2 months ago (2012-10-19 19:00:40 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-19 20:34:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10944013/11001
8 years, 2 months ago (2012-10-19 22:11:41 UTC) #8
commit-bot: I haz the power
Change committed as 163111
8 years, 2 months ago (2012-10-20 00:42:34 UTC) #9
jochen (gone - plz use gerrit)
https://codereview.chromium.org/10944013/diff/11001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/10944013/diff/11001/net/base/network_delegate.h#newcode76 net/base/network_delegate.h:76: const HttpResponseHeaders* original_response_headers, why are you making this a ...
8 years, 2 months ago (2012-10-20 02:04:13 UTC) #10
battre
8 years, 2 months ago (2012-10-20 09:49:56 UTC) #11
https://codereview.chromium.org/10944013/diff/11001/net/base/network_delegate.h
File net/base/network_delegate.h (right):

https://codereview.chromium.org/10944013/diff/11001/net/base/network_delegate...
net/base/network_delegate.h:76: const HttpResponseHeaders*
original_response_headers,
On 2012/10/20 02:04:13, jochen wrote:
> why are you making this a const ptr instead of a const ref?

like for URLRequest, you are allowed to hold on to the pointer if you are
careful about the life-time management. Pass by reference indicates in my mind
that you must not store a pointer to the element because it is only guaranteed
to be valid during the life-time of the call.

Powered by Google App Engine
This is Rietveld 408576698