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

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

Issue 2851493003: Remove unused CookiePreferences from report sender and never send cookies (Closed)
Patch Set: Fix 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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/certificate_reporting_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool(); 1020 base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool();
1021 transport_security_persister_.reset( 1021 transport_security_persister_.reset(
1022 new net::TransportSecurityPersister( 1022 new net::TransportSecurityPersister(
1023 transport_security_state_.get(), 1023 transport_security_state_.get(),
1024 profile_params_->path, 1024 profile_params_->path,
1025 pool->GetSequencedTaskRunnerWithShutdownBehavior( 1025 pool->GetSequencedTaskRunnerWithShutdownBehavior(
1026 pool->GetSequenceToken(), 1026 pool->GetSequenceToken(),
1027 base::SequencedWorkerPool::BLOCK_SHUTDOWN), 1027 base::SequencedWorkerPool::BLOCK_SHUTDOWN),
1028 IsOffTheRecord())); 1028 IsOffTheRecord()));
1029 1029
1030 certificate_report_sender_.reset(new net::ReportSender( 1030 certificate_report_sender_.reset(
1031 main_request_context_.get(), net::ReportSender::DO_NOT_SEND_COOKIES)); 1031 new net::ReportSender(main_request_context_.get()));
1032 transport_security_state_->SetReportSender(certificate_report_sender_.get()); 1032 transport_security_state_->SetReportSender(certificate_report_sender_.get());
1033 1033
1034 expect_ct_reporter_.reset( 1034 expect_ct_reporter_.reset(
1035 new ChromeExpectCTReporter(main_request_context_.get())); 1035 new ChromeExpectCTReporter(main_request_context_.get()));
1036 transport_security_state_->SetExpectCTReporter(expect_ct_reporter_.get()); 1036 transport_security_state_->SetExpectCTReporter(expect_ct_reporter_.get());
1037 1037
1038 transport_security_state_->SetRequireCTDelegate( 1038 transport_security_state_->SetRequireCTDelegate(
1039 ct_policy_manager_->GetDelegate()); 1039 ct_policy_manager_->GetDelegate());
1040 1040
1041 // Take ownership over these parameters. 1041 // Take ownership over these parameters.
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 void ProfileIOData::SetCookieSettingsForTesting( 1301 void ProfileIOData::SetCookieSettingsForTesting(
1302 content_settings::CookieSettings* cookie_settings) { 1302 content_settings::CookieSettings* cookie_settings) {
1303 DCHECK(!cookie_settings_.get()); 1303 DCHECK(!cookie_settings_.get());
1304 cookie_settings_ = cookie_settings; 1304 cookie_settings_ = cookie_settings;
1305 } 1305 }
1306 1306
1307 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( 1307 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState(
1308 const GURL& url) const { 1308 const GURL& url) const {
1309 return url_blacklist_manager_->GetURLBlacklistState(url); 1309 return url_blacklist_manager_->GetURLBlacklistState(url);
1310 } 1310 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/certificate_reporting_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698