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

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: Shutdown uploader in unittest Created 4 years, 3 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: 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 bb7070509681247c68a226986f4da9590bd1937a..442a2832c69e5c42aff8c4a342c93fe195d1124d 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -161,6 +161,8 @@ class ProfileImplIOData : public ProfileIOData {
base::FilePath extensions_cookie_path;
content::CookieStoreConfig::SessionCookieMode session_cookie_mode;
scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy;
+ std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
+ domain_reliability_monitor;
};
ProfileImplIOData();
@@ -233,7 +235,8 @@ class ProfileImplIOData : public ProfileIOData {
mutable std::unique_ptr<net::URLRequestJobFactory> main_job_factory_;
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::SdchManager> sdch_manager_;

Powered by Google App Engine
This is Rietveld 408576698