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

Unified Diff: chrome/browser/printing/cloud_print/device_description.h

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/device_description.h
diff --git a/chrome/browser/local_discovery/device_description.h b/chrome/browser/printing/cloud_print/device_description.h
similarity index 64%
rename from chrome/browser/local_discovery/device_description.h
rename to chrome/browser/printing/cloud_print/device_description.h
index 34bc837287e30801fabb49d780c35d9617670169..87aa7a14c8591f319e956fb32aae35ac445b3dbe 100644
--- a/chrome/browser/local_discovery/device_description.h
+++ b/chrome/browser/printing/cloud_print/device_description.h
@@ -2,8 +2,8 @@
// 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_DEVICE_DESCRIPTION_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_DEVICE_DESCRIPTION_H_
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_DEVICE_DESCRIPTION_H_
#include <string>
@@ -11,12 +11,15 @@
#include "net/base/host_port_pair.h"
namespace local_discovery {
-
struct ServiceDescription;
+}
+
+namespace cloud_print {
struct DeviceDescription {
DeviceDescription();
- explicit DeviceDescription(const ServiceDescription& service_description);
+ explicit DeviceDescription(
+ const local_discovery::ServiceDescription& service_description);
~DeviceDescription();
bool IsValid() const;
@@ -34,6 +37,6 @@ struct DeviceDescription {
net::HostPortPair address;
};
-} // namespace local_discovery
+} // namespace cloud_print
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_DEVICE_DESCRIPTION_H_

Powered by Google App Engine
This is Rietveld 408576698