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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index dff2664a1ac13bae103dd67ced0d79061bb7d8e2..502d87e11cd6702a47e5df2e0c05b3122020788f 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -231,12 +231,12 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
new ChromeAppCacheService(quota_manager->proxy());
return new StoragePartitionImpl(partition_path,
- quota_manager,
- appcache_service,
- filesystem_context,
- database_tracker,
- dom_storage_context,
- indexed_db_context);
+ quota_manager.get(),
+ appcache_service.get(),
+ filesystem_context.get(),
+ database_tracker.get(),
+ dom_storage_context.get(),
+ indexed_db_context.get());
}
base::FilePath StoragePartitionImpl::GetPath() {
@@ -244,36 +244,36 @@ base::FilePath StoragePartitionImpl::GetPath() {
}
net::URLRequestContextGetter* StoragePartitionImpl::GetURLRequestContext() {
- return url_request_context_;
+ return url_request_context_.get();
}
net::URLRequestContextGetter*
StoragePartitionImpl::GetMediaURLRequestContext() {
- return media_url_request_context_;
+ return media_url_request_context_.get();
}
quota::QuotaManager* StoragePartitionImpl::GetQuotaManager() {
- return quota_manager_;
+ return quota_manager_.get();
}
ChromeAppCacheService* StoragePartitionImpl::GetAppCacheService() {
- return appcache_service_;
+ return appcache_service_.get();
}
fileapi::FileSystemContext* StoragePartitionImpl::GetFileSystemContext() {
- return filesystem_context_;
+ return filesystem_context_.get();
}
webkit_database::DatabaseTracker* StoragePartitionImpl::GetDatabaseTracker() {
- return database_tracker_;
+ return database_tracker_.get();
}
DOMStorageContextImpl* StoragePartitionImpl::GetDOMStorageContext() {
- return dom_storage_context_;
+ return dom_storage_context_.get();
}
IndexedDBContextImpl* StoragePartitionImpl::GetIndexedDBContext() {
- return indexed_db_context_;
+ return indexed_db_context_.get();
}
void StoragePartitionImpl::AsyncClearDataForOrigin(
« no previous file with comments | « content/browser/ssl/ssl_policy.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698