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

Unified Diff: chrome/browser/printing/pwg_raster_converter.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/pwg_raster_converter.cc
diff --git a/chrome/browser/local_discovery/pwg_raster_converter.cc b/chrome/browser/printing/pwg_raster_converter.cc
similarity index 97%
rename from chrome/browser/local_discovery/pwg_raster_converter.cc
rename to chrome/browser/printing/pwg_raster_converter.cc
index 4c5b7a7abeefc9c34365439742312f61e076fe79..44e47ad4d9d7310085c67bfdbeb6a425995e0ce4 100644
--- a/chrome/browser/local_discovery/pwg_raster_converter.cc
+++ b/chrome/browser/printing/pwg_raster_converter.cc
@@ -2,7 +2,7 @@
// 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/pwg_raster_converter.h"
+#include "chrome/browser/printing/pwg_raster_converter.h"
#include <algorithm>
#include <utility>
@@ -32,7 +32,7 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
-namespace local_discovery {
+namespace printing {
namespace {
@@ -114,9 +114,9 @@ bool FileHandlers::IsValid() {
// simultaneously by several threads.
class PwgUtilityProcessHostClient : public content::UtilityProcessHostClient {
public:
- explicit PwgUtilityProcessHostClient(
- const printing::PdfRenderSettings& settings,
- const printing::PwgRasterSettings& bitmap_settings);
+ PwgUtilityProcessHostClient(
+ const PdfRenderSettings& settings,
+ const PwgRasterSettings& bitmap_settings);
void Convert(base::RefCountedMemory* data,
const PWGRasterConverter::ResultCallback& callback);
@@ -141,8 +141,8 @@ class PwgUtilityProcessHostClient : public content::UtilityProcessHostClient {
void OnFilesReadyOnUIThread();
scoped_ptr<FileHandlers, BrowserThread::DeleteOnFileThread> files_;
- printing::PdfRenderSettings settings_;
- printing::PwgRasterSettings bitmap_settings_;
+ PdfRenderSettings settings_;
+ PwgRasterSettings bitmap_settings_;
PWGRasterConverter::ResultCallback callback_;
base::WeakPtr<content::UtilityProcessHost> utility_process_host_;
@@ -363,4 +363,4 @@ printing::PwgRasterSettings PWGRasterConverter::GetBitmapSettings(
return result;
}
-} // namespace local_discovery
+} // namespace printing
« no previous file with comments | « chrome/browser/printing/pwg_raster_converter.h ('k') | chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698