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

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

Issue 2249213002: [OBSOLETE] Reporting: Initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ProfileImplIOData Created 4 years, 2 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 3108057866d81298b81ac49d993542e85eb6fe6a..05e4b761d7b3f190b0265bf37209f74b133cb589 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -13,6 +13,7 @@
#include "chrome/browser/net/chrome_url_request_context_getter.h"
#include "chrome/browser/profiles/profile_io_data.h"
#include "components/prefs/pref_store.h"
+#include "components/reporting/content/browser/reporting_network_delegate.h"
#include "content/public/browser/cookie_store_factory.h"
class JsonPrefStore;
@@ -65,7 +66,9 @@ class ProfileImplIOData : public ProfileIOData {
content::CookieStoreConfig::SessionCookieMode session_cookie_mode,
storage::SpecialStoragePolicy* special_storage_policy,
std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
- domain_reliability_monitor);
+ domain_reliability_monitor,
+ std::unique_ptr<reporting::ReportingNetworkDelegate::Handle>
+ reporting_handle);
// These Create*ContextGetter() functions are only exposed because the
// circular relationship between Profile, ProfileIOData::Handle, and the
@@ -206,6 +209,8 @@ class ProfileImplIOData : public ProfileIOData {
void ClearNetworkingHistorySinceOnIOThread(base::Time time,
const base::Closure& completion);
+ mutable std::unique_ptr<net::NetworkDelegate> network_delegate_;
+
// Lazy initialization params.
mutable std::unique_ptr<LazyParams> lazy_params_;
@@ -232,6 +237,9 @@ class ProfileImplIOData : public ProfileIOData {
mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
+ mutable std::unique_ptr<reporting::ReportingNetworkDelegate::Handle>
+ reporting_handle_;
+
// Parameters needed for isolated apps.
base::FilePath profile_path_;
int app_cache_max_size_;

Powered by Google App Engine
This is Rietveld 408576698