| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ | 5 #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ | 6 #define PRINTING_PRINTED_PAGES_SOURCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| 11 class MessageLoop; | 11 class MessageLoop; |
| 12 | 12 |
| 13 namespace printing { | 13 namespace printing { |
| 14 | 14 |
| 15 class PrintedDocument; | 15 class PrintedDocument; |
| 16 | 16 |
| 17 // Source of printed pages. | 17 // Source of printed pages. |
| 18 class PrintedPagesSource { | 18 class PrintedPagesSource { |
| 19 public: | 19 public: |
| 20 // Returns the document title. | 20 // Returns the document title. |
| 21 virtual std::wstring RenderSourceName() = 0; | 21 virtual std::wstring RenderSourceName() = 0; |
| 22 | 22 |
| 23 // Returns the URL's source of the document if applicable. | 23 // Returns the URL's source of the document if applicable. |
| 24 virtual GURL RenderSourceUrl() = 0; | 24 virtual GURL RenderSourceUrl() = 0; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace printing | 27 } // namespace printing |
| 28 | 28 |
| 29 #endif // CHROME_BROWSER_PRINTING_PRINTED_PAGES_SOURCE_H__ | 29 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ |
| OLD | NEW |