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
3 // found in the LICENSE file.
5 #ifndef PRINTING_PRINTED_PAGES_SOURCE_H_
6 #define PRINTING_PRINTED_PAGES_SOURCE_H_
8 #include "base/string16.h"
15 class PrintedDocument
;
17 // Source of printed pages.
18 class PrintedPagesSource
{
20 // Returns the document title.
21 virtual string16
RenderSourceName() = 0;
23 // Returns the URL's source of the document if applicable.
24 virtual GURL
RenderSourceUrl() = 0;
27 virtual ~PrintedPagesSource() {}
30 } // namespace printing
32 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_