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

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

Issue 2769083005: Reporting: Set up in ProfileImplIOData. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 9f3ea25ffadbb9f88741fba42f9112445a9deeae..34220799e7415da79a2a9d5f4f394c6cf8b4d0da 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -81,6 +81,7 @@ class CTVerifier;
class HttpTransactionFactory;
class ProxyConfigService;
class ProxyService;
+class ReportingService;
class ReportSender;
class SSLConfigService;
class TransportSecurityPersister;
@@ -283,6 +284,8 @@ class ProfileIOData {
void SetHttpTransactionFactory(
std::unique_ptr<net::HttpTransactionFactory> http_factory);
void SetJobFactory(std::unique_ptr<net::URLRequestJobFactory> job_factory);
+ void SetReportingService(
+ std::unique_ptr<net::ReportingService> reporting_service);
private:
~AppRequestContext() override;
@@ -292,6 +295,7 @@ class ProfileIOData {
std::unique_ptr<net::HttpNetworkSession> http_network_session_;
std::unique_ptr<net::HttpTransactionFactory> http_factory_;
std::unique_ptr<net::URLRequestJobFactory> job_factory_;
+ std::unique_ptr<net::ReportingService> reporting_service_;
};
// Created on the UI thread, read on the IO thread during ProfileIOData lazy
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698