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

Unified Diff: chrome/browser/printing/cloud_print/privet_http.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/privet_http.h
diff --git a/chrome/browser/local_discovery/privet_http.h b/chrome/browser/printing/cloud_print/privet_http.h
similarity index 94%
rename from chrome/browser/local_discovery/privet_http.h
rename to chrome/browser/printing/cloud_print/privet_http.h
index a151543bde4b681d0cb81876e508fd9a4d71a4a4..97952a2a2e39f337bbd3b57666e218540438d473 100644
--- a/chrome/browser/local_discovery/privet_http.h
+++ b/chrome/browser/printing/cloud_print/privet_http.h
@@ -2,13 +2,13 @@
// 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_HTTP_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_H_
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_H_
#include <string>
#include "base/callback.h"
-#include "chrome/browser/local_discovery/privet_url_fetcher.h"
+#include "chrome/browser/printing/cloud_print/privet_url_fetcher.h"
#include "net/base/host_port_pair.h"
namespace base {
@@ -21,11 +21,11 @@ class Size;
namespace printing {
class PdfRenderSettings;
+class PWGRasterConverter;
}
-namespace local_discovery {
+namespace cloud_print {
-class PWGRasterConverter;
class PrivetHTTPClient;
// Represents a simple request that returns pure JSON.
@@ -176,7 +176,7 @@ class PrivetLocalPrintOperation {
// For testing, inject an alternative PWG raster converter.
virtual void SetPWGRasterConverterForTesting(
- scoped_ptr<PWGRasterConverter> pwg_raster_converter) = 0;
+ scoped_ptr<printing::PWGRasterConverter> pwg_raster_converter) = 0;
virtual PrivetHTTPClient* GetHTTPClient() = 0;
};
@@ -210,5 +210,6 @@ class PrivetV1HTTPClient {
PrivetLocalPrintOperation::Delegate* delegate) = 0;
};
-} // namespace local_discovery
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_
+} // namespace cloud_print
+
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_H_

Powered by Google App Engine
This is Rietveld 408576698