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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: No, really. Created 4 years 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: chrome/browser/profiles/profile_impl_io_data.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index dedb29afb065bc77cb2848b5da94c83877ad0e89..0a46ea7192c17399a57e7b55a5e3be7fb407ac5c 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -156,6 +156,8 @@ class ProfileImplIOData : public ProfileIOData {
scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy;
std::unique_ptr<net::HttpServerPropertiesManager>
http_server_properties_manager;
+ std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
+ domain_reliability_monitor;
};
ProfileImplIOData();
@@ -219,7 +221,8 @@ class ProfileImplIOData : public ProfileIOData {
mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
- mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
+ // Owned by ChromeNetworkDelegate (which is owned by |network_delegate_|).
+ mutable domain_reliability::DomainReliabilityMonitor*
domain_reliability_monitor_;
mutable std::unique_ptr<net::SdchOwner> sdch_policy_;

Powered by Google App Engine
This is Rietveld 408576698