Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 6 | #define PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 7 | |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 8 | #include "base/strings/string16.h" |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 9 | |
| 10 | namespace printing { |
| 11 | |
| 12 | // Source of printed pages. |
| 13 | class PrintedPagesSource { |
| 14 | public: |
| 15 | // Returns the document title. |
Torne (Richard Coles) | 4e180b6 | 2013-10-18 15:46:22 +0100 | [diff] [blame] | 16 | virtual base::string16 RenderSourceName() = 0; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 17 | |
| 18 | protected: |
| 19 | virtual ~PrintedPagesSource() {} |
| 20 | }; |
| 21 | |
| 22 | } // namespace printing |
| 23 | |
| 24 | #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ |