0

Platform agnostically rename PrinterStatus and PrinterQueryResult files

crrev.com/752905 moved the definition of PrinterStatus out of
cups_jobs.h, and named the new file with the assumption that it will
only be built on ChromeOS. Given that CUPS IPP will be supported on
macOS in the near future, this naming was not appropriate. Do the same
thing with PrinterQueryResult.

Bug: 226176
Change-Id: I54e99b63f40221a832ab95196c8c9c14ba7f2011
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2121081
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Bailey Berro <baileyberro@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753472}
This commit is contained in:
Daniel Hosseinian
2020-03-26 01:25:41 +00:00
committed by Commit Bot
parent a5a9cd37d0
commit 86d0cca4bd
13 changed files with 19 additions and 19 deletions

@ -5,7 +5,7 @@
#include "chrome/browser/chromeos/printing/printer_error_codes.h"
#include "printing/backend/cups_jobs.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
namespace chromeos {

@ -9,7 +9,7 @@
#include <vector>
#include "base/callback_forward.h"
#include "printing/printer_query_result_chromeos.h"
#include "printing/printer_query_result.h"
namespace printing {
struct PrinterStatus;

@ -18,7 +18,7 @@
#include "base/version.h"
#include "chrome/browser/chromeos/printing/printer_info.h"
#include "printing/backend/cups_jobs.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
namespace {

@ -8,7 +8,7 @@
#include "base/logging.h"
#include "base/task/post_task.h"
#include "base/threading/sequenced_task_runner_handle.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
namespace chromeos {

@ -59,7 +59,7 @@
#include "net/base/ip_endpoint.h"
#include "net/url_request/url_request_context_getter.h"
#include "printing/backend/print_backend.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
#include "url/gurl.h"
namespace chromeos {

@ -18,7 +18,7 @@
#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
#include "chromeos/printing/ppd_provider.h"
#include "chromeos/printing/printer_configuration.h"
#include "printing/printer_query_result_chromeos.h"
#include "printing/printer_query_result.h"
#include "ui/shell_dialogs/select_file_dialog.h"
namespace base {

@ -236,9 +236,9 @@ component("printing") {
"backend/printing_restrictions.cc",
"backend/printing_restrictions.h",
"printed_document_chromeos.cc",
"printer_query_result_chromeos.h",
"printer_status_chromeos.cc",
"printer_status_chromeos.h",
"printer_query_result.h",
"printer_status.cc",
"printer_status.h",
"printing_context_no_system_dialog.cc",
"printing_context_no_system_dialog.h",
]

@ -16,7 +16,7 @@
#include "printing/backend/cups_deleters.h"
#include "printing/backend/cups_jobs.h"
#include "printing/backend/cups_printer.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
#include "printing/printing_export.h"
#include "url/gurl.h"

@ -18,7 +18,7 @@
#include "base/version.h"
#include "printing/backend/cups_deleters.h"
#include "printing/backend/cups_ipp_helper.h"
#include "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
namespace printing {
namespace {

@ -14,7 +14,7 @@
#include <vector>
#include "base/version.h"
#include "printing/printer_query_result_chromeos.h"
#include "printing/printer_query_result.h"
#include "printing/printing_export.h"
// This file contains a collection of functions used to query IPP printers or

@ -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 PRINTING_PRINTER_QUERY_RESULT_CHROMEOS_H_
#define PRINTING_PRINTER_QUERY_RESULT_CHROMEOS_H_
#ifndef PRINTING_PRINTER_QUERY_RESULT_H_
#define PRINTING_PRINTER_QUERY_RESULT_H_
#include "printing/printing_export.h"
@ -18,4 +18,4 @@ enum PRINTING_EXPORT PrinterQueryResult {
} // namespace printing
#endif // PRINTING_PRINTER_QUERY_RESULT_CHROMEOS_H_
#endif // PRINTING_PRINTER_QUERY_RESULT_H_

@ -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 "printing/printer_status_chromeos.h"
#include "printing/printer_status.h"
namespace printing {

@ -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 PRINTING_PRINTER_STATUS_CHROMEOS_H_
#define PRINTING_PRINTER_STATUS_CHROMEOS_H_
#ifndef PRINTING_PRINTER_STATUS_H_
#define PRINTING_PRINTER_STATUS_H_
#include <cups/cups.h>
@ -77,4 +77,4 @@ struct PRINTING_EXPORT PrinterStatus {
} // namespace printing
#endif // PRINTING_PRINTER_STATUS_CHROMEOS_H_
#endif // PRINTING_PRINTER_STATUS_H_