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

Unified Diff: content/browser/appcache/appcache_storage_impl.h

Issue 2040833002: AppCache: Add nullptr check where AppCacheStorageImpl::disk_cache() is called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ensure disk_cache_ Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/appcache/appcache_storage_impl.h
diff --git a/content/browser/appcache/appcache_storage_impl.h b/content/browser/appcache/appcache_storage_impl.h
index 1e0963f74508f615ec43e39418a27a0a757ffd97..82a6f5a2be7cf8df5c57263975f02e7c8994878b 100644
--- a/content/browser/appcache/appcache_storage_impl.h
+++ b/content/browser/appcache/appcache_storage_impl.h
@@ -145,6 +145,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
int64_t group_id,
const GURL& manifest_url);
+ // Don't call this when |is_disabled_| is true.
CONTENT_EXPORT AppCacheDiskCache* disk_cache();
// The directory in which we place files in the file system.
« no previous file with comments | « no previous file | content/browser/appcache/appcache_storage_impl.cc » ('j') | content/browser/appcache/appcache_storage_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698