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

Issue 2040833002: AppCache: Add nullptr check where AppCacheStorageImpl::disk_cache() is called (Closed)

Created:
4 years, 6 months ago by nhiroki
Modified:
4 years, 6 months ago
Reviewers:
falken, michaeln, kinuko
CC:
chromium-reviews, michaeln, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

AppCache: Check whether AppCacheStorageImpl is enabled before calling disk_cache() BUG=617200 Committed: https://crrev.com/9a7f903e95b9ff3b16dc18b8ab6d6eaa4f1a987d Cr-Commit-Position: refs/heads/master@{#397989}

Patch Set 1 #

Total comments: 4

Patch Set 2 : ensure disk_cache_ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -11 lines) Patch
M content/browser/appcache/appcache_storage_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.cc View 1 4 chunks +9 lines, -11 lines 2 comments Download

Messages

Total messages: 22 (9 generated)
nhiroki
PTAL, thanks!
4 years, 6 months ago (2016-06-06 03:14:32 UTC) #4
falken
lgtm
4 years, 6 months ago (2016-06-06 03:18:28 UTC) #5
nhiroki
+kinuko, can you review this as an OWNER of content/ because michaeln@ seems to be ...
4 years, 6 months ago (2016-06-06 03:26:16 UTC) #8
kinuko
https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc#newcode1816 content/browser/appcache/appcache_storage_impl.cc:1816: if (is_disabled_) { nit: !disk_cache() and is_disabled_ seems to ...
4 years, 6 months ago (2016-06-06 04:06:17 UTC) #9
kinuko
4 years, 6 months ago (2016-06-06 04:06:21 UTC) #10
nhiroki
https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc#newcode1816 content/browser/appcache/appcache_storage_impl.cc:1816: if (is_disabled_) { On 2016/06/06 04:06:17, kinuko wrote: > ...
4 years, 6 months ago (2016-06-06 04:41:35 UTC) #11
kinuko
https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc#newcode1816 content/browser/appcache/appcache_storage_impl.cc:1816: if (is_disabled_) { On 2016/06/06 04:41:35, nhiroki wrote: > ...
4 years, 6 months ago (2016-06-06 04:56:22 UTC) #12
nhiroki
Thank you. Updated! https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/1/content/browser/appcache/appcache_storage_impl.cc#newcode1816 content/browser/appcache/appcache_storage_impl.cc:1816: if (is_disabled_) { On 2016/06/06 04:56:21, ...
4 years, 6 months ago (2016-06-06 06:04:17 UTC) #13
kinuko
lgtm https://codereview.chromium.org/2040833002/diff/20001/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/20001/content/browser/appcache/appcache_storage_impl.cc#newcode1825 content/browser/appcache/appcache_storage_impl.cc:1825: int rv = disk_cache()->DoomEntry( Actually I feel dcheck'ing ...
4 years, 6 months ago (2016-06-06 06:59:06 UTC) #14
nhiroki
https://codereview.chromium.org/2040833002/diff/20001/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/2040833002/diff/20001/content/browser/appcache/appcache_storage_impl.cc#newcode1825 content/browser/appcache/appcache_storage_impl.cc:1825: int rv = disk_cache()->DoomEntry( On 2016/06/06 06:59:06, kinuko wrote: ...
4 years, 6 months ago (2016-06-06 07:00:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040833002/20001
4 years, 6 months ago (2016-06-06 07:01:00 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-06 07:34:06 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 07:35:43 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9a7f903e95b9ff3b16dc18b8ab6d6eaa4f1a987d
Cr-Commit-Position: refs/heads/master@{#397989}

Powered by Google App Engine
This is Rietveld 408576698