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

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

Issue 1435303002: Temporarily add PrivetHttpClient::GetHost method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@context1
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
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b3e168a88aa31bb4d0ec0bf3cacd520bf12827be..9c532313e862293a9cba0c291735a41e98bcd572 100644
--- a/chrome/browser/local_discovery/privet_http_impl.cc
+++ b/chrome/browser/local_discovery/privet_http_impl.cc
@@ -751,6 +751,10 @@ bool PrivetHTTPClientImpl::IsInHttpsMode() const {
return use_https_;
}
+std::string PrivetHTTPClientImpl::GetHost() const {
+ return host_port_.host();
+}
+
void PrivetHTTPClientImpl::OnPrivetInfoDone(
const base::DictionaryValue* value) {
info_operation_.reset();
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698