// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PRINTING_PAGE_NUMBER_H_ #define PRINTING_PAGE_NUMBER_H_ #include <ostream> #include <vector> #include "base/check_op.h" #include "base/memory/raw_ptr.h" #include "printing/page_range.h" namespace printing { // Represents a page series using the array of page ranges. Pages are assumed // to be 0-indexed. class COMPONENT_EXPORT(PRINTING) PageNumber { … }; // Debug output support. template <class E, class T> inline typename std::basic_ostream<E, T>& operator<<( typename std::basic_ostream<E, T>& ss, const PageNumber& page) { … } } // namespace printing #endif // PRINTING_PAGE_NUMBER_H_