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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 2769083005: Reporting: Set up in ProfileImplIOData. (Closed)
Patch Set: rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 namespace net { 75 namespace net {
76 class CertVerifier; 76 class CertVerifier;
77 class ChannelIDService; 77 class ChannelIDService;
78 class ClientCertStore; 78 class ClientCertStore;
79 class CookieStore; 79 class CookieStore;
80 class CTVerifier; 80 class CTVerifier;
81 class HttpTransactionFactory; 81 class HttpTransactionFactory;
82 class ProxyConfigService; 82 class ProxyConfigService;
83 class ProxyService; 83 class ProxyService;
84 class ReportingService;
84 class ReportSender; 85 class ReportSender;
85 class SSLConfigService; 86 class SSLConfigService;
86 class TransportSecurityPersister; 87 class TransportSecurityPersister;
87 class TransportSecurityState; 88 class TransportSecurityState;
88 class URLRequestContextStorage; 89 class URLRequestContextStorage;
89 class URLRequestJobFactoryImpl; 90 class URLRequestJobFactoryImpl;
90 } // namespace net 91 } // namespace net
91 92
92 namespace policy { 93 namespace policy {
93 class PolicyCertVerifier; 94 class PolicyCertVerifier;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 AppRequestContext(); 277 AppRequestContext();
277 278
278 void SetCookieStore(std::unique_ptr<net::CookieStore> cookie_store); 279 void SetCookieStore(std::unique_ptr<net::CookieStore> cookie_store);
279 void SetChannelIDService( 280 void SetChannelIDService(
280 std::unique_ptr<net::ChannelIDService> channel_id_service); 281 std::unique_ptr<net::ChannelIDService> channel_id_service);
281 void SetHttpNetworkSession( 282 void SetHttpNetworkSession(
282 std::unique_ptr<net::HttpNetworkSession> http_network_session); 283 std::unique_ptr<net::HttpNetworkSession> http_network_session);
283 void SetHttpTransactionFactory( 284 void SetHttpTransactionFactory(
284 std::unique_ptr<net::HttpTransactionFactory> http_factory); 285 std::unique_ptr<net::HttpTransactionFactory> http_factory);
285 void SetJobFactory(std::unique_ptr<net::URLRequestJobFactory> job_factory); 286 void SetJobFactory(std::unique_ptr<net::URLRequestJobFactory> job_factory);
287 void SetReportingService(
288 std::unique_ptr<net::ReportingService> reporting_service);
286 289
287 private: 290 private:
288 ~AppRequestContext() override; 291 ~AppRequestContext() override;
289 292
290 std::unique_ptr<net::CookieStore> cookie_store_; 293 std::unique_ptr<net::CookieStore> cookie_store_;
291 std::unique_ptr<net::ChannelIDService> channel_id_service_; 294 std::unique_ptr<net::ChannelIDService> channel_id_service_;
292 std::unique_ptr<net::HttpNetworkSession> http_network_session_; 295 std::unique_ptr<net::HttpNetworkSession> http_network_session_;
293 std::unique_ptr<net::HttpTransactionFactory> http_factory_; 296 std::unique_ptr<net::HttpTransactionFactory> http_factory_;
294 std::unique_ptr<net::URLRequestJobFactory> job_factory_; 297 std::unique_ptr<net::URLRequestJobFactory> job_factory_;
298 std::unique_ptr<net::ReportingService> reporting_service_;
295 }; 299 };
296 300
297 // Created on the UI thread, read on the IO thread during ProfileIOData lazy 301 // Created on the UI thread, read on the IO thread during ProfileIOData lazy
298 // initialization. 302 // initialization.
299 struct ProfileParams { 303 struct ProfileParams {
300 ProfileParams(); 304 ProfileParams();
301 ~ProfileParams(); 305 ~ProfileParams();
302 306
303 base::FilePath path; 307 base::FilePath path;
304 IOThread* io_thread; 308 IOThread* io_thread;
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> 611 mutable std::unique_ptr<certificate_transparency::TreeStateTracker>
608 ct_tree_tracker_; 612 ct_tree_tracker_;
609 mutable base::Closure ct_tree_tracker_unregistration_; 613 mutable base::Closure ct_tree_tracker_unregistration_;
610 614
611 const Profile::ProfileType profile_type_; 615 const Profile::ProfileType profile_type_;
612 616
613 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 617 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
614 }; 618 };
615 619
616 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 620 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« 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