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

Issue 1124333010: Shut down Profile's URLRequestContextGetters safely. (Closed)

Created:
5 years, 7 months ago by mmenke
Modified:
5 years, 7 months ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, rginda+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fetcher
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shut down Profile's URLRequestContextGetters safely. Any URLFetchers using one of a Profile's URLRequestContextGetters will now return an error on Profile shutdown, as opposed to causing crashes in AssertNoURLRequests. BUG=419095 Committed: https://crrev.com/2d09f7a2038dca3fa59c1d6ee4a15a98d9ff98ab Cr-Commit-Position: refs/heads/master@{#329916}

Patch Set 1 #

Patch Set 2 : Oops #

Patch Set 3 : Cleanup #

Patch Set 4 : Update comments #

Patch Set 5 : Cleanup #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -16 lines) Patch
M chrome/browser/net/chrome_url_request_context_getter.h View 1 2 1 chunk +3 lines, -3 lines 2 comments Download
M chrome/browser/net/chrome_url_request_context_getter.cc View 1 2 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/profiles/profile_browsertest.cc View 1 2 3 4 6 chunks +192 lines, -0 lines 4 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mmenke
I'd like better tests for main profile shutdown, but since we don't really support multiple ...
5 years, 7 months ago (2015-05-13 15:18:54 UTC) #5
davidben
lgtm with minor comments. https://codereview.chromium.org/1124333010/diff/140001/chrome/browser/net/chrome_url_request_context_getter.h File chrome/browser/net/chrome_url_request_context_getter.h (right): https://codereview.chromium.org/1124333010/diff/140001/chrome/browser/net/chrome_url_request_context_getter.h#newcode84 chrome/browser/net/chrome_url_request_context_getter.h:84: void NotifyContextShuttingDown(); Maybe keep this ...
5 years, 7 months ago (2015-05-14 17:09:27 UTC) #6
mmenke
https://codereview.chromium.org/1124333010/diff/140001/chrome/browser/net/chrome_url_request_context_getter.h File chrome/browser/net/chrome_url_request_context_getter.h (right): https://codereview.chromium.org/1124333010/diff/140001/chrome/browser/net/chrome_url_request_context_getter.h#newcode84 chrome/browser/net/chrome_url_request_context_getter.h:84: void NotifyContextShuttingDown(); On 2015/05/14 17:09:26, David Benjamin wrote: > ...
5 years, 7 months ago (2015-05-14 19:23:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124333010/140001
5 years, 7 months ago (2015-05-14 19:24:33 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 7 months ago (2015-05-14 20:24:04 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 20:24:55 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2d09f7a2038dca3fa59c1d6ee4a15a98d9ff98ab
Cr-Commit-Position: refs/heads/master@{#329916}

Powered by Google App Engine
This is Rietveld 408576698