| Index: chrome/browser/printing/cloud_print/privet_http_unittest.cc
|
| diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/printing/cloud_print/privet_http_unittest.cc
|
| similarity index 99%
|
| rename from chrome/browser/local_discovery/privet_http_unittest.cc
|
| rename to chrome/browser/printing/cloud_print/privet_http_unittest.cc
|
| index 84d0a705b8077b66d5a3a6d227c733742f449f77..711d34ced5d89fe9f7207cf70eaf1f690feeb175 100644
|
| --- a/chrome/browser/local_discovery/privet_http_unittest.cc
|
| +++ b/chrome/browser/printing/cloud_print/privet_http_unittest.cc
|
| @@ -2,14 +2,14 @@
|
| // 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/privet_http.h"
|
| +#include "chrome/browser/printing/cloud_print/privet_http.h"
|
|
|
| #include <utility>
|
|
|
| #include "base/json/json_reader.h"
|
| #include "base/json/json_writer.h"
|
| #include "base/run_loop.h"
|
| -#include "chrome/browser/local_discovery/privet_http_impl.h"
|
| +#include "chrome/browser/printing/cloud_print/privet_http_impl.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/test/test_browser_thread_bundle.h"
|
| #include "net/test/embedded_test_server/embedded_test_server.h"
|
| @@ -19,11 +19,11 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| #if defined(ENABLE_PRINT_PREVIEW)
|
| -#include "chrome/browser/local_discovery/pwg_raster_converter.h"
|
| +#include "chrome/browser/printing/pwg_raster_converter.h"
|
| #include "printing/pwg_raster_settings.h"
|
| #endif // ENABLE_PRINT_PREVIEW
|
|
|
| -namespace local_discovery {
|
| +namespace cloud_print {
|
|
|
| namespace {
|
|
|
| @@ -733,7 +733,7 @@ TEST_P(PrivetCapabilitiesTest, BadToken) {
|
| // converts strings to file paths based on them by appending "test.pdf", since
|
| // it's easier to test that way. Instead of using a mock, we simply check if the
|
| // request is uploading a file that is based on this pattern.
|
| -class FakePWGRasterConverter : public PWGRasterConverter {
|
| +class FakePWGRasterConverter : public printing::PWGRasterConverter {
|
| public:
|
| void Start(base::RefCountedMemory* data,
|
| const printing::PdfRenderSettings& conversion_settings,
|
| @@ -1118,4 +1118,4 @@ TEST_F(PrivetHttpWithServerTest, HttpServer) {
|
|
|
| } // namespace
|
|
|
| -} // namespace local_discovery
|
| +} // namespace cloud_print
|
|
|