Index: chrome/browser/local_discovery/privet_local_printer_lister.h |
diff --git a/chrome/browser/local_discovery/privet_local_printer_lister.h b/chrome/browser/local_discovery/privet_local_printer_lister.h |
index 0652671bc772d103ab2d41b9df5cd178c389bce6..663320669b2724de581f3dc698c764c2d3b59e89 100644 |
--- a/chrome/browser/local_discovery/privet_local_printer_lister.h |
+++ b/chrome/browser/local_discovery/privet_local_printer_lister.h |
@@ -57,10 +57,11 @@ class PrivetLocalPrinterLister : PrivetDeviceLister::Delegate { |
typedef std::map<std::string, linked_ptr<DeviceContext> > DeviceContextMap; |
void OnPrivetInfoDone(DeviceContext* context, |
- std::string name, |
+ const std::string& name, |
const base::DictionaryValue* json_value); |
- void OnPrivetResolved(scoped_ptr<PrivetHTTPClient> http_client); |
+ void OnPrivetResolved(const std::string& name, |
+ scoped_ptr<PrivetHTTPClient> http_client); |
scoped_ptr<PrivetHTTPAsynchronousFactory> privet_http_factory_; |
DeviceContextMap device_contexts_; |