Index: chrome/browser/printing/cloud_print/privet_local_printer_lister.h |
diff --git a/chrome/browser/local_discovery/privet_local_printer_lister.h b/chrome/browser/printing/cloud_print/privet_local_printer_lister.h |
similarity index 75% |
rename from chrome/browser/local_discovery/privet_local_printer_lister.h |
rename to chrome/browser/printing/cloud_print/privet_local_printer_lister.h |
index cdb99e90559a56037300aba20dbb73086048b3e7..c4910379af00eccb4b80ea167b87c2de1b45cd1c 100644 |
--- a/chrome/browser/local_discovery/privet_local_printer_lister.h |
+++ b/chrome/browser/printing/cloud_print/privet_local_printer_lister.h |
@@ -2,20 +2,20 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_LOCAL_PRINTER_LISTER_H_ |
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_LOCAL_PRINTER_LISTER_H_ |
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_LOCAL_PRINTER_LISTER_H_ |
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_LOCAL_PRINTER_LISTER_H_ |
#include <map> |
#include <string> |
#include "base/memory/linked_ptr.h" |
-#include "chrome/browser/local_discovery/privet_device_lister.h" |
-#include "chrome/browser/local_discovery/privet_http.h" |
-#include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h" |
+#include "chrome/browser/printing/cloud_print/privet_device_lister.h" |
+#include "chrome/browser/printing/cloud_print/privet_http.h" |
+#include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h" |
#include "chrome/common/local_discovery/service_discovery_client.h" |
#include "net/url_request/url_request_context.h" |
-namespace local_discovery { |
+namespace cloud_print { |
// This is an adapter to PrivetDeviceLister that finds printers and checks if |
// they support Privet local printing. |
@@ -32,9 +32,10 @@ class PrivetLocalPrinterLister : PrivetDeviceLister::Delegate { |
virtual void LocalPrinterCacheFlushed() = 0; |
}; |
- PrivetLocalPrinterLister(ServiceDiscoveryClient* service_discovery_client, |
- net::URLRequestContextGetter* request_context, |
- Delegate* delegate); |
+ PrivetLocalPrinterLister( |
+ local_discovery::ServiceDiscoveryClient* service_discovery_client, |
+ net::URLRequestContextGetter* request_context, |
+ Delegate* delegate); |
virtual ~PrivetLocalPrinterLister(); |
void Start(); |
@@ -70,6 +71,6 @@ class PrivetLocalPrinterLister : PrivetDeviceLister::Delegate { |
scoped_ptr<PrivetDeviceLister> privet_lister_; |
}; |
-} // namespace local_discovery |
+} // namespace cloud_print |
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_LOCAL_PRINTER_LISTER_H_ |
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_LOCAL_PRINTER_LISTER_H_ |