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

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

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_update_job.h
diff --git a/content/browser/appcache/appcache_update_job.h b/content/browser/appcache/appcache_update_job.h
index 4fa15885c88189b166a87cf683040f721b5bab44..57840bf130988a388cd43528683858bc1d253789 100644
--- a/content/browser/appcache/appcache_update_job.h
+++ b/content/browser/appcache/appcache_update_job.h
@@ -158,13 +158,13 @@ class CONTENT_EXPORT AppCacheUpdateJob
FetchType fetch_type_;
int retry_503_attempts_;
scoped_refptr<net::IOBuffer> buffer_;
- scoped_ptr<net::URLRequest> request_;
+ std::unique_ptr<net::URLRequest> request_;
AppCacheEntry existing_entry_;
scoped_refptr<net::HttpResponseHeaders> existing_response_headers_;
std::string manifest_data_;
ResultType result_;
int redirect_response_code_;
- scoped_ptr<AppCacheResponseWriter> response_writer_;
+ std::unique_ptr<AppCacheResponseWriter> response_writer_;
}; // class URLFetcher
AppCacheResponseWriter* CreateResponseWriter();
@@ -317,11 +317,11 @@ class CONTENT_EXPORT AppCacheUpdateJob
// Temporary storage of manifest response data for parsing and comparison.
std::string manifest_data_;
- scoped_ptr<net::HttpResponseInfo> manifest_response_info_;
- scoped_ptr<AppCacheResponseWriter> manifest_response_writer_;
+ std::unique_ptr<net::HttpResponseInfo> manifest_response_info_;
+ std::unique_ptr<AppCacheResponseWriter> manifest_response_writer_;
scoped_refptr<net::IOBuffer> read_manifest_buffer_;
std::string loaded_manifest_data_;
- scoped_ptr<AppCacheResponseReader> manifest_response_reader_;
+ std::unique_ptr<AppCacheResponseReader> manifest_response_reader_;
bool manifest_has_valid_mime_type_;
// New master entries added to the cache by this job, used to cleanup
« no previous file with comments | « content/browser/appcache/appcache_storage_impl_unittest.cc ('k') | content/browser/appcache/appcache_update_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698