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

Unified Diff: chrome/browser/printing/cloud_print/privet_http_impl.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_impl.h
diff --git a/chrome/browser/local_discovery/privet_http_impl.h b/chrome/browser/printing/cloud_print/privet_http_impl.h
similarity index 95%
rename from chrome/browser/local_discovery/privet_http_impl.h
rename to chrome/browser/printing/cloud_print/privet_http_impl.h
index 9a8eec9c1476b9a397dc8183bf36fd4eb6dd9389..149f33cb0a91e7ba92baf7a5f76f6290f2b84840 100644
--- a/chrome/browser/local_discovery/privet_http_impl.h
+++ b/chrome/browser/printing/cloud_print/privet_http_impl.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_PRIVET_HTTP_IMPL_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_
+#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_IMPL_H_
+#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_IMPL_H_
#include <string>
#include <vector>
@@ -13,11 +13,11 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/browser/local_discovery/privet_http.h"
+#include "chrome/browser/printing/cloud_print/privet_http.h"
#include "components/cloud_devices/common/cloud_device_description.h"
#include "ui/gfx/geometry/size.h"
-namespace local_discovery {
+namespace cloud_print {
class PrivetHTTPClient;
@@ -173,7 +173,7 @@ class PrivetLocalPrintOperationImpl
void SetPageSize(const gfx::Size& page_size) override;
void SetPWGRasterConverterForTesting(
- scoped_ptr<PWGRasterConverter> pwg_raster_converter) override;
+ scoped_ptr<printing::PWGRasterConverter> pwg_raster_converter) override;
PrivetHTTPClient* GetHTTPClient() override;
@@ -230,7 +230,7 @@ class PrivetLocalPrintOperationImpl
scoped_ptr<PrivetURLFetcher> url_fetcher_;
scoped_ptr<PrivetJSONOperation> info_operation_;
- scoped_ptr<PWGRasterConverter> pwg_raster_converter_;
+ scoped_ptr<printing::PWGRasterConverter> pwg_raster_converter_;
base::WeakPtrFactory<PrivetLocalPrintOperationImpl> weak_factory_;
};
@@ -294,5 +294,6 @@ class PrivetV1HTTPClientImpl : public PrivetV1HTTPClient {
DISALLOW_COPY_AND_ASSIGN(PrivetV1HTTPClientImpl);
};
-} // namespace local_discovery
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_IMPL_H_
+} // namespace cloud_print
+
+#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698