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

Issue 506523002: net : Declaring the weak_ptr_factory in proper order. (Closed)

Created:
6 years, 3 months ago by ARUNKK
Modified:
6 years, 3 months ago
CC:
lgombos, vivekg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Declaring the weak_ptr_factory in proper order. Cleaning up weak_ptr_factory destruction order in "src/net" module. WeakPtrFactory should remain the last member so it'll be destroyed and invalidate its weak pointers before any other members are destroyed. BUG=303818 Committed: https://crrev.com/cd7b446148ba6ef5874000c3679d6431b6d5588b Cr-Commit-Position: refs/heads/master@{#292344}

Patch Set 1 #

Patch Set 2 : weak_ptr_factory in proper order #

Patch Set 3 : corrected the indentation. #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : incorporated the review comments. #

Total comments: 2

Patch Set 6 : Resolving the review nits. #

Patch Set 7 : NITs #

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -76 lines) Patch
M net/base/network_change_notifier_win.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/base/sdch_dictionary_fetcher.h View 2 chunks +5 lines, -4 lines 0 comments Download
M net/base/sdch_dictionary_fetcher.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/disk_cache_based_quic_server_info.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M net/http/disk_cache_based_quic_server_info.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M net/http/http_auth_handler_mock.h View 2 chunks +1 line, -1 line 0 comments Download
M net/http/http_auth_handler_mock.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_cache_transaction.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M net/http/http_server_properties_manager.h View 2 chunks +8 lines, -8 lines 0 comments Download
M net/http/http_transaction_test_util.h View 2 chunks +3 lines, -1 line 0 comments Download
M net/http/http_transaction_test_util.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/quic/quic_connection_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_connection_helper.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/quic/quic_default_packet_writer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_default_packet_writer.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/quic/quic_per_connection_packet_writer.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_per_connection_packet_writer.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M net/quic/quic_server_packet_writer.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_server_packet_writer.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 2 chunks +1 line, -2 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/test/embedded_test_server/embedded_test_server.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/test/spawned_test_server/spawner_communicator.h View 2 chunks +4 lines, -4 lines 0 comments Download
M net/test/spawned_test_server/spawner_communicator.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
ARUNKK
PTAL
6 years, 3 months ago (2014-08-25 09:14:34 UTC) #1
ARUNKK
kulkarni.a@samsung.com changed reviewers: - kphanee@chromium.org, l.gombos@samsung.com, sivagunturi@chromium.org, sohanjg@chromium.org, vivekg@chromium.org
6 years, 3 months ago (2014-08-26 05:38:56 UTC) #2
ARUNKK
kulkarni.a@samsung.com changed reviewers: + dmichael@chromium.org
6 years, 3 months ago (2014-08-26 05:45:51 UTC) #3
ARUNKK
PTAL.
6 years, 3 months ago (2014-08-26 05:45:51 UTC) #4
ARUNKK
kulkarni.a@samsung.com changed reviewers: + rdsmith@chromium.org
6 years, 3 months ago (2014-08-26 05:51:30 UTC) #5
ARUNKK
rdsmith@chromium.org: Please review changes in "src/net" module.
6 years, 3 months ago (2014-08-26 05:51:30 UTC) #6
Randy Smith (Not in Mondays)
https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h File net/http/disk_cache_based_quic_server_info.h (right): https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h#newcode102 net/http/disk_cache_based_quic_server_info.h:102: CompletionCallback io_callback_; I dislike making this exception to the ...
6 years, 3 months ago (2014-08-26 16:43:03 UTC) #7
dmichael (off chromium)
https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h File net/http/disk_cache_based_quic_server_info.h (right): https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h#newcode102 net/http/disk_cache_based_quic_server_info.h:102: CompletionCallback io_callback_; On 2014/08/26 16:43:03, rdsmith wrote: > I ...
6 years, 3 months ago (2014-08-26 22:02:26 UTC) #8
ARUNKK
On 2014/08/26 22:02:26, dmichael wrote: > https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h > File net/http/disk_cache_based_quic_server_info.h (right): > > https://codereview.chromium.org/506523002/diff/60001/net/http/disk_cache_based_quic_server_info.h#newcode102 > ...
6 years, 3 months ago (2014-08-27 14:08:09 UTC) #9
Randy Smith (Not in Mondays)
LGTM with nit (vertical whitespace--it's up to you what you do with the COMPILE_ASSERT). https://codereview.chromium.org/506523002/diff/80001/net/http/http_cache_transaction.cc ...
6 years, 3 months ago (2014-08-27 14:25:15 UTC) #10
ARUNKK
On 2014/08/27 14:25:15, rdsmith wrote: > LGTM with nit (vertical whitespace--it's up to you what ...
6 years, 3 months ago (2014-08-28 05:19:51 UTC) #11
ARUNKK
The CQ bit was checked by kulkarni.a@samsung.com
6 years, 3 months ago (2014-08-28 05:19:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kulkarni.a@samsung.com/506523002/100001
6 years, 3 months ago (2014-08-28 05:20:45 UTC) #13
ARUNKK
The CQ bit was checked by kulkarni.a@samsung.com
6 years, 3 months ago (2014-08-28 05:41:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kulkarni.a@samsung.com/506523002/120001
6 years, 3 months ago (2014-08-28 05:41:06 UTC) #15
ARUNKK
The CQ bit was checked by kulkarni.a@samsung.com
6 years, 3 months ago (2014-08-28 05:55:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kulkarni.a@samsung.com/506523002/140001
6 years, 3 months ago (2014-08-28 05:56:45 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-28 06:57:40 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 00ca4a09c586988ad935827de99709ee89ab1cc8
6 years, 3 months ago (2014-08-28 07:41:49 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:58:20 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cd7b446148ba6ef5874000c3679d6431b6d5588b
Cr-Commit-Position: refs/heads/master@{#292344}

Powered by Google App Engine
This is Rietveld 408576698