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

Unified Diff: content/browser/cache_storage/cache_storage_manager.h

Issue 1468163002: [CacheStorage] Use a map of scoped_ptrs instead of raw pointers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_manager.h
diff --git a/content/browser/cache_storage/cache_storage_manager.h b/content/browser/cache_storage/cache_storage_manager.h
index 2d83a65413dd30948e7c910725b4c2d89be4cbee..6f2dc162cc1c87f3ceb63418768711aafc17e195 100644
--- a/content/browser/cache_storage/cache_storage_manager.h
+++ b/content/browser/cache_storage/cache_storage_manager.h
@@ -91,7 +91,7 @@ class CONTENT_EXPORT CacheStorageManager {
friend class CacheStorageMigrationTest;
friend class CacheStorageQuotaClient;
- typedef std::map<GURL, CacheStorage*> CacheStorageMap;
+ typedef std::map<GURL, scoped_ptr<CacheStorage>> CacheStorageMap;
CacheStorageManager(
const base::FilePath& path,
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698