Index: chrome/browser/printing/cloud_print/privet_device_lister_impl.cc |
diff --git a/chrome/browser/local_discovery/privet_device_lister_impl.cc b/chrome/browser/printing/cloud_print/privet_device_lister_impl.cc |
similarity index 78% |
rename from chrome/browser/local_discovery/privet_device_lister_impl.cc |
rename to chrome/browser/printing/cloud_print/privet_device_lister_impl.cc |
index 0c3ee1a04530fda8380a3ba951e1383d556a8eda..f48bbb58ebda51b15986c013d8665319b9cc6141 100644 |
--- a/chrome/browser/local_discovery/privet_device_lister_impl.cc |
+++ b/chrome/browser/printing/cloud_print/privet_device_lister_impl.cc |
@@ -2,26 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/local_discovery/privet_device_lister_impl.h" |
+#include "chrome/browser/printing/cloud_print/privet_device_lister_impl.h" |
#include <utility> |
#include <vector> |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
-#include "chrome/browser/local_discovery/privet_constants.h" |
+#include "chrome/browser/printing/cloud_print/privet_constants.h" |
-namespace local_discovery { |
+namespace cloud_print { |
PrivetDeviceListerImpl::PrivetDeviceListerImpl( |
- ServiceDiscoveryClient* service_discovery_client, |
+ local_discovery::ServiceDiscoveryClient* service_discovery_client, |
PrivetDeviceLister::Delegate* delegate) |
: delegate_(delegate), |
device_lister_(this, service_discovery_client, kPrivetDefaultDeviceType) { |
} |
PrivetDeviceListerImpl::PrivetDeviceListerImpl( |
- ServiceDiscoveryClient* service_discovery_client, |
+ local_discovery::ServiceDiscoveryClient* service_discovery_client, |
PrivetDeviceLister::Delegate* delegate, |
const std::string& subtype) |
: delegate_(delegate), |
@@ -43,7 +43,8 @@ void PrivetDeviceListerImpl::DiscoverNewDevices(bool force_update) { |
} |
void PrivetDeviceListerImpl::OnDeviceChanged( |
- bool added, const ServiceDescription& service_description) { |
+ bool added, |
+ const local_discovery::ServiceDescription& service_description) { |
if (!delegate_) |
return; |
@@ -61,4 +62,4 @@ void PrivetDeviceListerImpl::OnDeviceCacheFlushed() { |
delegate_->DeviceCacheFlushed(); |
} |
-} // namespace local_discovery |
+} // namespace cloud_print |