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

Unified Diff: chrome/browser/printing/cloud_print/privet_local_printer_lister.cc

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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
Index: chrome/browser/printing/cloud_print/privet_local_printer_lister.cc
diff --git a/chrome/browser/local_discovery/privet_local_printer_lister.cc b/chrome/browser/printing/cloud_print/privet_local_printer_lister.cc
similarity index 90%
rename from chrome/browser/local_discovery/privet_local_printer_lister.cc
rename to chrome/browser/printing/cloud_print/privet_local_printer_lister.cc
index 5a5cd11dd23d72a97b981be68563f1a659b3e9e6..9a568bf4988c45b454be26bf368b68ce1848a9a2 100644
--- a/chrome/browser/local_discovery/privet_local_printer_lister.cc
+++ b/chrome/browser/printing/cloud_print/privet_local_printer_lister.cc
@@ -2,17 +2,17 @@
// 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_local_printer_lister.h"
+#include "chrome/browser/printing/cloud_print/privet_local_printer_lister.h"
#include <stddef.h>
#include <string>
#include <utility>
-#include "chrome/browser/local_discovery/privet_constants.h"
-#include "chrome/browser/local_discovery/privet_device_lister_impl.h"
-#include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
+#include "chrome/browser/printing/cloud_print/privet_constants.h"
+#include "chrome/browser/printing/cloud_print/privet_device_lister_impl.h"
+#include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h"
-namespace local_discovery {
+namespace cloud_print {
struct PrivetLocalPrinterLister::DeviceContext {
DeviceContext() : has_local_printing(false) {
@@ -27,7 +27,7 @@ struct PrivetLocalPrinterLister::DeviceContext {
};
PrivetLocalPrinterLister::PrivetLocalPrinterLister(
- ServiceDiscoveryClient* service_discovery_client,
+ local_discovery::ServiceDiscoveryClient* service_discovery_client,
net::URLRequestContextGetter* request_context,
Delegate* delegate) : delegate_(delegate) {
privet_lister_.reset(
@@ -135,4 +135,4 @@ const DeviceDescription* PrivetLocalPrinterLister::GetDeviceDescription(
return &i->second->description;
}
-} // namespace local_discovery
+} // namespace cloud_print

Powered by Google App Engine
This is Rietveld 408576698