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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

Issue 948413006: Move callback and host port args into Start method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_sdc
Patch Set: Created 5 years, 10 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/ui/webui/local_discovery/local_discovery_ui_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
index 92a434213d50b6a6f86176a5a0f7715d5efde906..30327e9cb68410c3a9c2aa2a5cc65efc4090e5c4 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
@@ -1622,9 +1622,8 @@ bool PrintPreviewHandler::CreatePrivetHTTP(
privet_http_factory_ =
local_discovery::PrivetHTTPAsynchronousFactory::CreateInstance(
Profile::FromWebUI(web_ui())->GetRequestContext());
- privet_http_resolution_ = privet_http_factory_->CreatePrivetHTTP(
- name, device_description->address, callback);
- privet_http_resolution_->Start();
+ privet_http_resolution_ = privet_http_factory_->CreatePrivetHTTP(name);
+ privet_http_resolution_->Start(device_description->address, callback);
return true;
}
« no previous file with comments | « chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698