| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_ | 5 #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 6 #define PRINTING_PRINTED_PAGES_SOURCE_H_ | 6 #define PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 | 9 |
| 10 namespace printing { | 10 namespace printing { |
| 11 | 11 |
| 12 class PrintedDocument; | |
| 13 | |
| 14 // Source of printed pages. | 12 // Source of printed pages. |
| 15 class PrintedPagesSource { | 13 class PrintedPagesSource { |
| 16 public: | 14 public: |
| 17 // Returns the document title. | 15 // Returns the document title. |
| 18 virtual string16 RenderSourceName() = 0; | 16 virtual string16 RenderSourceName() = 0; |
| 19 | 17 |
| 20 protected: | 18 protected: |
| 21 virtual ~PrintedPagesSource() {} | 19 virtual ~PrintedPagesSource() {} |
| 22 }; | 20 }; |
| 23 | 21 |
| 24 } // namespace printing | 22 } // namespace printing |
| 25 | 23 |
| 26 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ | 24 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ |
| OLD | NEW |