Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: printing/printed_pages_source.h

Issue 8113029: Cleanup: Remove dead code - printing::PrintedPagesSource::RenderSourceName() and printing::Printe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/printed_document.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 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 class GURL;
11 class MessageLoop;
12
13 namespace printing { 10 namespace printing {
14 11
15 class PrintedDocument; 12 class PrintedDocument;
16 13
17 // Source of printed pages. 14 // Source of printed pages.
18 class PrintedPagesSource { 15 class PrintedPagesSource {
19 public: 16 public:
20 // Returns the document title. 17 // Returns the document title.
21 virtual string16 RenderSourceName() = 0; 18 virtual string16 RenderSourceName() = 0;
22 19
23 // Returns the URL's source of the document if applicable.
24 virtual GURL RenderSourceUrl() = 0;
25
26 protected: 20 protected:
27 virtual ~PrintedPagesSource() {} 21 virtual ~PrintedPagesSource() {}
28 }; 22 };
29 23
30 } // namespace printing 24 } // namespace printing
31 25
32 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_ 26 #endif // PRINTING_PRINTED_PAGES_SOURCE_H_
OLDNEW
« no previous file with comments | « printing/printed_document.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698