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

Unified Diff: chrome/browser/local_discovery/privet_http_impl.cc

Issue 1441403005: Use shared shared URLRequestContextGetter for all gcd_private sessions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@context5
Patch Set: Created 5 years, 1 month 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/local_discovery/privet_http_impl.cc
diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc
index ff43e246238ba27c9b50caccbce7d1413f883608..d3861ff185fecf2d6e00c7f88753f5eb0f8cf93a 100644
--- a/chrome/browser/local_discovery/privet_http_impl.cc
+++ b/chrome/browser/local_discovery/privet_http_impl.cc
@@ -739,13 +739,9 @@ void PrivetHTTPClientImpl::RefreshPrivetToken(
}
}
-void PrivetHTTPClientImpl::SwitchToHttps(
- uint16_t port,
- const net::SHA256HashValue& certificate_fingerprint) {
+void PrivetHTTPClientImpl::SwitchToHttps(uint16_t port) {
use_https_ = true;
host_port_.set_port(port);
- context_getter_ = new extensions::PrivetV3ContextGetter(
- context_getter_->GetNetworkTaskRunner(), certificate_fingerprint);
}
bool PrivetHTTPClientImpl::IsInHttpsMode() const {
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | chrome/browser/local_discovery/privet_http_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698