| 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
|
|
|